mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Remove deprecated containment operators for contrib types.
Since PG 8.2, @ and ~ have been deprecated aliases for the containment
operators @> and <@. It seems like enough time has passed to actually
remove them, so do so.
This completes the project begun in commit 2f70fdb06
. Note that in
the core types, the relation to the preferred operator names was
reversed from what it is in these contrib modules. The confusion
that induced was a large part of the reason for deprecation.
Justin Pryzby
Discussion: https://postgr.es/m/20201027032511.GF9241@telsasoft.com
This commit is contained in:
@ -222,14 +222,6 @@
|
||||
</tgroup>
|
||||
</table>
|
||||
|
||||
<para>
|
||||
(Before PostgreSQL 8.2, the containment operators <literal>@></literal> and <literal><@</literal> were
|
||||
respectively called <literal>@</literal> and <literal>~</literal>. These names are still available, but are
|
||||
deprecated and will eventually be retired. Notice that the old names
|
||||
are reversed from the convention formerly followed by the core geometric
|
||||
data types!)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
In addition to the above operators, the usual comparison
|
||||
operators shown in <xref linkend="functions-comparison-op-table"/> are
|
||||
|
@ -318,16 +318,6 @@ key => NULL
|
||||
</tgroup>
|
||||
</table>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
Prior to PostgreSQL 8.2, the containment operators <literal>@></literal>
|
||||
and <literal><@</literal> were called <literal>@</literal> and <literal>~</literal>,
|
||||
respectively. These names are still available, but are deprecated and will
|
||||
eventually be removed. Notice that the old names are reversed from the
|
||||
convention formerly followed by the core geometric data types!
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<table id="hstore-func-table">
|
||||
<title><type>hstore</type> Functions</title>
|
||||
<tgroup cols="1">
|
||||
|
@ -364,14 +364,6 @@
|
||||
</tgroup>
|
||||
</table>
|
||||
|
||||
<para>
|
||||
(Before PostgreSQL 8.2, the containment operators <literal>@></literal> and
|
||||
<literal><@</literal> were respectively called <literal>@</literal> and <literal>~</literal>.
|
||||
These names are still available, but are deprecated and will eventually be
|
||||
retired. Notice that the old names are reversed from the convention
|
||||
formerly followed by the core geometric data types!)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The operators <literal>&&</literal>, <literal>@></literal> and
|
||||
<literal><@</literal> are equivalent to <productname>PostgreSQL</productname>'s built-in
|
||||
|
@ -352,14 +352,6 @@ test=> select '6.25 .. 6.50'::seg as "pH";
|
||||
</tgroup>
|
||||
</table>
|
||||
|
||||
<para>
|
||||
(Before PostgreSQL 8.2, the containment operators <literal>@></literal> and <literal><@</literal> were
|
||||
respectively called <literal>@</literal> and <literal>~</literal>. These names are still available, but are
|
||||
deprecated and will eventually be retired. Notice that the old names
|
||||
are reversed from the convention formerly followed by the core geometric
|
||||
data types!)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
In addition to the above operators, the usual comparison
|
||||
operators shown in <xref linkend="functions-comparison-op-table"/> are
|
||||
|
Reference in New Issue
Block a user