pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Remove deprecated containment operators for built-in types
2+ messages / 2 participants
[nested] [flat]

* pgsql: Remove deprecated containment operators for built-in types
@ 2020-11-03 09:48  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2020-11-03 09:48 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove deprecated containment operators for built-in types

Remove old containment operators @ and ~ for built-in geometry data
types.  These have been deprecated; use <@ and @> instead.

(Some contrib modules still contain the same deprecated operators.
That will be dealt with separately.)

Author: Justin Pryzby <pryzby@telsasoft.com>
Discussion: https://www.postgresql.org/message-id/flat/20201027032511.GF9241@telsasoft.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2f70fdb0644c32c4154236c2b5c241bec92eac5e

Modified Files
--------------
doc/src/sgml/func.sgml                   |  9 -----
src/include/catalog/catversion.h         |  2 +-
src/include/catalog/pg_amop.dat          | 18 ---------
src/include/catalog/pg_operator.dat      | 65 --------------------------------
src/test/regress/expected/create_am.out  |  2 -
src/test/regress/expected/opr_sanity.out |  7 +---
src/test/regress/sql/create_am.sql       |  2 -
7 files changed, 3 insertions(+), 102 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Remove deprecated containment operators for contrib types.
@ 2021-03-05 15:45  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2021-03-05 15:45 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/112d411fbeb56afd18c117e20b524a86afc9aba5

Modified Files
--------------
contrib/cube/Makefile                   |  2 +-
contrib/cube/cube--1.4--1.5.sql         |  8 ++++++++
contrib/cube/cube.control               |  2 +-
contrib/hstore/hstore--1.7--1.8.sql     |  4 ++++
contrib/intarray/Makefile               |  2 +-
contrib/intarray/intarray--1.4--1.5.sql |  8 ++++++++
contrib/intarray/intarray.control       |  2 +-
contrib/seg/Makefile                    |  2 +-
contrib/seg/seg--1.3--1.4.sql           |  8 ++++++++
contrib/seg/seg.control                 |  2 +-
doc/src/sgml/cube.sgml                  |  8 --------
doc/src/sgml/hstore.sgml                | 10 ----------
doc/src/sgml/intarray.sgml              |  8 --------
doc/src/sgml/seg.sgml                   |  8 --------
14 files changed, 34 insertions(+), 40 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-03-05 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03 09:48 pgsql: Remove deprecated containment operators for built-in types Peter Eisentraut <peter@eisentraut.org>
2021-03-05 15:45 pgsql: Remove deprecated containment operators for contrib types. Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox