aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-10-20 13:01:02 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2023-10-20 13:01:02 -0400
commit52f22cd4e894ea2ff6a8c497ef4268b2726a9da9 (patch)
treeeb29de4cc2d6da04cdc4a098feaaf6419c74b14f /doc/src
parent2b5154beab794eae6e624c162d497df927ec9d27 (diff)
downloadpostgresql-52f22cd4e894ea2ff6a8c497ef4268b2726a9da9.tar.gz
postgresql-52f22cd4e894ea2ff6a8c497ef4268b2726a9da9.zip
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 865f14a2d back in 9.5, but evidently that commit missed updating this statement. Do so now.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/create_operator.sgml7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/create_operator.sgml b/doc/src/sgml/ref/create_operator.sgml
index c421fd21e9d..3553d364541 100644
--- a/doc/src/sgml/ref/create_operator.sgml
+++ b/doc/src/sgml/ref/create_operator.sgml
@@ -52,7 +52,8 @@ CREATE OPERATOR <replaceable>name</replaceable> (
There are a few restrictions on your choice of name:
<itemizedlist>
<listitem>
- <para><literal>--</literal> and <literal>/*</literal> cannot appear anywhere in an operator name,
+ <para>
+ <literal>--</literal> and <literal>/*</literal> cannot appear anywhere in an operator name,
since they will be taken as the start of a comment.
</para>
</listitem>
@@ -72,8 +73,8 @@ CREATE OPERATOR <replaceable>name</replaceable> (
</listitem>
<listitem>
<para>
- The use of <literal>=&gt;</literal> as an operator name is deprecated. It may
- be disallowed altogether in a future release.
+ The symbol <literal>=&gt;</literal> is reserved by the SQL grammar,
+ so it cannot be used as an operator name.
</para>
</listitem>
</itemizedlist>