mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Addition of xid=int4 operator makes opr_sanity unhappy.
This commit is contained in:
@ -337,9 +337,9 @@ WHERE p1.oprlsortop != p1.oprrsortop AND
|
|||||||
-- Hashing only works on simple equality operators "type = sametype",
|
-- Hashing only works on simple equality operators "type = sametype",
|
||||||
-- since the hash itself depends on the bitwise representation of the type.
|
-- since the hash itself depends on the bitwise representation of the type.
|
||||||
-- Check that allegedly hashable operators look like they might be "=".
|
-- Check that allegedly hashable operators look like they might be "=".
|
||||||
-- NOTE: in 6.5, this search finds int4eqoid and oideqint4. Until we have
|
-- NOTE: in 7.2, this search finds int4eqoid, oideqint4, and xideqint4.
|
||||||
-- some cleaner way of dealing with binary-equivalent types, just leave
|
-- Until we have some cleaner way of dealing with binary-equivalent types,
|
||||||
-- those two tuples in the expected output.
|
-- just leave those three tuples in the expected output.
|
||||||
SELECT p1.oid, p1.oprname
|
SELECT p1.oid, p1.oprname
|
||||||
FROM pg_operator AS p1
|
FROM pg_operator AS p1
|
||||||
WHERE p1.oprcanhash AND NOT
|
WHERE p1.oprcanhash AND NOT
|
||||||
@ -347,9 +347,10 @@ WHERE p1.oprcanhash AND NOT
|
|||||||
p1.oprname = '=' AND p1.oprcom = p1.oid);
|
p1.oprname = '=' AND p1.oprcom = p1.oid);
|
||||||
oid | oprname
|
oid | oprname
|
||||||
------+---------
|
------+---------
|
||||||
|
353 | =
|
||||||
1136 | =
|
1136 | =
|
||||||
1137 | =
|
1137 | =
|
||||||
(2 rows)
|
(3 rows)
|
||||||
|
|
||||||
-- In 6.5 we accepted hashable array equality operators when the array element
|
-- In 6.5 we accepted hashable array equality operators when the array element
|
||||||
-- type is hashable. However, what we actually need to make hashjoin work on
|
-- type is hashable. However, what we actually need to make hashjoin work on
|
||||||
|
@ -275,9 +275,9 @@ WHERE p1.oprlsortop != p1.oprrsortop AND
|
|||||||
-- Hashing only works on simple equality operators "type = sametype",
|
-- Hashing only works on simple equality operators "type = sametype",
|
||||||
-- since the hash itself depends on the bitwise representation of the type.
|
-- since the hash itself depends on the bitwise representation of the type.
|
||||||
-- Check that allegedly hashable operators look like they might be "=".
|
-- Check that allegedly hashable operators look like they might be "=".
|
||||||
-- NOTE: in 6.5, this search finds int4eqoid and oideqint4. Until we have
|
-- NOTE: in 7.2, this search finds int4eqoid, oideqint4, and xideqint4.
|
||||||
-- some cleaner way of dealing with binary-equivalent types, just leave
|
-- Until we have some cleaner way of dealing with binary-equivalent types,
|
||||||
-- those two tuples in the expected output.
|
-- just leave those three tuples in the expected output.
|
||||||
|
|
||||||
SELECT p1.oid, p1.oprname
|
SELECT p1.oid, p1.oprname
|
||||||
FROM pg_operator AS p1
|
FROM pg_operator AS p1
|
||||||
|
Reference in New Issue
Block a user