pgsql: Remove hstore's text => text operator.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove hstore's text => text operator.
Date: 2011-11-08 02:51:47
Message-ID: E1RNbmt-0007Do-20@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove hstore's text => text operator.

Since PostgreSQL 9.0, we've emitted a warning message when an operator
named => is created, because the SQL standard now reserves that token
for another use. But we've also shipped such an operator with hstore.
Use of the function hstore(text, text) has been recommended in
preference to =>(text, text). Per discussion, it's now time to take
the next step and stop shipping the operator. This will allow us to
prohibit the use of => as an operator name in a future release if and
when we wish to support the SQL standard use of this token.

The release notes should mention this incompatibility.

Patch by me, reviewed by David Wheeler, Dimitri Fontaine and Tom Lane.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b60653bc0b75b7f3b5dda0a2968a22129aafb2b2

Modified Files
--------------
contrib/hstore/Makefile | 3 +-
contrib/hstore/hstore--1.0--1.1.sql | 7 +
contrib/hstore/hstore--1.1.sql | 524 +++++++++++++++++++++++++++++++++++
contrib/hstore/hstore.control | 2 +-
doc/src/sgml/hstore.sgml | 17 +-
5 files changed, 535 insertions(+), 18 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2011-11-08 04:56:49 pgsql: -DLINUX_OOM_ADJ=0 should be in CPPFLAGS, not CFLAGS
Previous Message Robert Haas 2011-11-08 02:46:58 pgsql: Make VACUUM avoid waiting for a cleanup lock, where possible.