]> granicus.if.org Git - postgresql/commit
Remove hstore's text => text operator.
authorRobert Haas <rhaas@postgresql.org>
Tue, 8 Nov 2011 02:47:45 +0000 (21:47 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 8 Nov 2011 02:47:45 +0000 (21:47 -0500)
commitb60653bc0b75b7f3b5dda0a2968a22129aafb2b2
tree626bcd83e8c11629eb54fb1afec2226f15fbb2e4
parentbbb6e559c4ea0fb4c346beda76736451dc24eb4e
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.
contrib/hstore/Makefile
contrib/hstore/hstore--1.0--1.1.sql [new file with mode: 0644]
contrib/hstore/hstore--1.1.sql [new file with mode: 0644]
contrib/hstore/hstore.control
doc/src/sgml/hstore.sgml