Commit 5390e284 authored by Tom Lane's avatar Tom Lane

Remove broken (and unnecessary) definition of operator <> for _int4

datatype; the generic array comparators added in 7.4 supersede this.
Per report and patch from Korea PostgreSQL Users' Group.
parent bd98d159
...@@ -140,15 +140,15 @@ CREATE OPERATOR && ( ...@@ -140,15 +140,15 @@ CREATE OPERATOR && (
-- SORT2 = '<' -- SORT2 = '<'
--); --);
CREATE OPERATOR <> ( --CREATE OPERATOR <> (
LEFTARG = _int4, -- LEFTARG = _int4,
RIGHTARG = _int4, -- RIGHTARG = _int4,
PROCEDURE = _int_different, -- PROCEDURE = _int_different,
COMMUTATOR = '<>', -- COMMUTATOR = '<>',
NEGATOR = '=', -- NEGATOR = '=',
RESTRICT = neqsel, -- RESTRICT = neqsel,
JOIN = neqjoinsel -- JOIN = neqjoinsel
); --);
CREATE OPERATOR @ ( CREATE OPERATOR @ (
LEFTARG = _int4, LEFTARG = _int4,
...@@ -343,7 +343,7 @@ LANGUAGE 'C'; ...@@ -343,7 +343,7 @@ LANGUAGE 'C';
CREATE OPERATOR CLASS gist__int_ops CREATE OPERATOR CLASS gist__int_ops
DEFAULT FOR TYPE _int4 USING gist AS DEFAULT FOR TYPE _int4 USING gist AS
OPERATOR 3 &&, OPERATOR 3 &&,
OPERATOR 6 = RECHECK, OPERATOR 6 = (anyarray, anyarray) RECHECK,
OPERATOR 7 @, OPERATOR 7 @,
OPERATOR 8 ~, OPERATOR 8 ~,
OPERATOR 20 @@ (_int4, query_int), OPERATOR 20 @@ (_int4, query_int),
...@@ -418,7 +418,7 @@ CREATE OPERATOR CLASS gist__intbig_ops ...@@ -418,7 +418,7 @@ CREATE OPERATOR CLASS gist__intbig_ops
FOR TYPE _int4 USING gist FOR TYPE _int4 USING gist
AS AS
OPERATOR 3 && RECHECK, OPERATOR 3 && RECHECK,
OPERATOR 6 = RECHECK, OPERATOR 6 = (anyarray, anyarray) RECHECK,
OPERATOR 7 @ RECHECK, OPERATOR 7 @ RECHECK,
OPERATOR 8 ~ RECHECK, OPERATOR 8 ~ RECHECK,
OPERATOR 20 @@ (_int4, query_int) RECHECK, OPERATOR 20 @@ (_int4, query_int) RECHECK,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment