mirror of https://github.com/postgres/postgres
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
pull/64/head
parent
8a8f4d8ede
commit
112d411fbe
@ -0,0 +1,8 @@ |
||||
/* contrib/cube/cube--1.4--1.5.sql */ |
||||
|
||||
-- complain if script is sourced in psql, rather than via ALTER EXTENSION |
||||
\echo Use "ALTER EXTENSION cube UPDATE TO '1.5'" to load this file. \quit |
||||
|
||||
-- Remove @ and ~ |
||||
DROP OPERATOR @ (cube, cube); |
||||
DROP OPERATOR ~ (cube, cube); |
@ -1,6 +1,6 @@ |
||||
# cube extension |
||||
comment = 'data type for multidimensional cubes' |
||||
default_version = '1.4' |
||||
default_version = '1.5' |
||||
module_pathname = '$libdir/cube' |
||||
relocatable = true |
||||
trusted = true |
||||
|
@ -0,0 +1,8 @@ |
||||
/* contrib/intarray/intarray--1.4--1.5.sql */ |
||||
|
||||
-- complain if script is sourced in psql, rather than via ALTER EXTENSION |
||||
\echo Use "ALTER EXTENSION intarray UPDATE TO '1.5'" to load this file. \quit |
||||
|
||||
-- Remove @ and ~ |
||||
DROP OPERATOR @ (_int4, _int4); |
||||
DROP OPERATOR ~ (_int4, _int4); |
@ -1,6 +1,6 @@ |
||||
# intarray extension |
||||
comment = 'functions, operators, and index support for 1-D arrays of integers' |
||||
default_version = '1.4' |
||||
default_version = '1.5' |
||||
module_pathname = '$libdir/_int' |
||||
relocatable = true |
||||
trusted = true |
||||
|
@ -0,0 +1,8 @@ |
||||
/* contrib/seg/seg--1.3--1.4.sql */ |
||||
|
||||
-- complain if script is sourced in psql, rather than via ALTER EXTENSION |
||||
\echo Use "ALTER EXTENSION seg UPDATE TO '1.4'" to load this file. \quit |
||||
|
||||
-- Remove @ and ~ |
||||
DROP OPERATOR @ (seg, seg); |
||||
DROP OPERATOR ~ (seg, seg); |
@ -1,6 +1,6 @@ |
||||
# seg extension |
||||
comment = 'data type for representing line segments or floating-point intervals' |
||||
default_version = '1.3' |
||||
default_version = '1.4' |
||||
module_pathname = '$libdir/seg' |
||||
relocatable = true |
||||
trusted = true |
||||
|
Loading…
Reference in new issue