Content-Length: 279025 | pFad | http://github.com/postgrespro/postgres/commit/52f22cd4e894ea2ff6a8c497ef4268b2726a9da9

68 Doc: update CREATE OPERATOR's statement about => as an operator. · postgrespro/postgres@52f22cd · GitHub
Skip to content

Commit 52f22cd

Browse files
committed
Doc: update CREATE OPERATOR's statement about => as an operator.
This doco said that use of => as an operator "is deprecated". It's been fully disallowed since 865f14a back in 9.5, but evidently that commit missed updating this statement. Do so now.
1 parent 2b5154b commit 52f22cd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/src/sgml/ref/create_operator.sgml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ CREATE OPERATOR <replaceable>name</replaceable> (
5252
There are a few restrictions on your choice of name:
5353
<itemizedlist>
5454
<listitem>
55-
<para><literal>--</literal> and <literal>/*</literal> cannot appear anywhere in an operator name,
55+
<para>
56+
<literal>--</literal> and <literal>/*</literal> cannot appear anywhere in an operator name,
5657
since they will be taken as the start of a comment.
5758
</para>
5859
</listitem>
@@ -72,8 +73,8 @@ CREATE OPERATOR <replaceable>name</replaceable> (
7273
</listitem>
7374
<listitem>
7475
<para>
75-
The use of <literal>=&gt;</literal> as an operator name is deprecated. It may
76-
be disallowed altogether in a future release.
76+
The symbol <literal>=&gt;</literal> is reserved by the SQL grammar,
77+
so it cannot be used as an operator name.
7778
</para>
7879
</listitem>
7980
</itemizedlist>

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/52f22cd4e894ea2ff6a8c497ef4268b2726a9da9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy