pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove deprecated containment operators for contrib types.
Date: Fri, 05 Mar 2021 15:45:52 +0000
Message-ID: <E1lICeG-0000JK-OF@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)

Message-ID: <E1lICeG-0000JK-OF@gemulon.postgresql.org>
Permalink:  ../E1lICeG-0000JK-OF@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lICeG-0000JK-OF@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Remove deprecated containment operators for contrib types.
  In-Reply-To: <E1lICeG-0000JK-OF@gemulon.postgresql.org>
  References: <E1lICeG-0000JK-OF@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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