mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
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.
This commit is contained in:
parent
2b5154beab
commit
52f22cd4e8
@ -52,7 +52,8 @@ CREATE OPERATOR <replaceable>name</replaceable> (
|
|||||||
There are a few restrictions on your choice of name:
|
There are a few restrictions on your choice of name:
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<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.
|
since they will be taken as the start of a comment.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -72,8 +73,8 @@ CREATE OPERATOR <replaceable>name</replaceable> (
|
|||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The use of <literal>=></literal> as an operator name is deprecated. It may
|
The symbol <literal>=></literal> is reserved by the SQL grammar,
|
||||||
be disallowed altogether in a future release.
|
so it cannot be used as an operator name.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user