mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-18 09:43:23 +02:00
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.
8 lines
278 B
SQL
8 lines
278 B
SQL
/* contrib/hstore/hstore-1.0-1.1.sql */
|
|
|
|
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
|
\echo Use "ALTER EXTENSION hstore UPDATE TO '1.1'" to load this file. \quit
|
|
|
|
ALTER EXTENSION hstore DROP OPERATOR => (text, text);
|
|
DROP OPERATOR => (text, text);
|