Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit40ed132

Browse files
committed
Addition of xid=int4 operator makes opr_sanity unhappy.
1 parent650c175 commit40ed132

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

‎src/test/regress/expected/opr_sanity.out

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,19 +337,20 @@ WHERE p1.oprlsortop != p1.oprrsortop AND
337337
-- Hashing only works on simple equality operators "type = sametype",
338338
-- since the hash itself depends on the bitwise representation of the type.
339339
-- Check that allegedly hashable operators look like they might be "=".
340-
-- NOTE: in6.5, this search finds int4eqoid andoideqint4. Until we have
341-
-- some cleaner way of dealing with binary-equivalent types, just leave
342-
-- thosetwo tuples in the expected output.
340+
-- NOTE: in7.2, this search finds int4eqoid,oideqint4, and xideqint4.
341+
--Until we havesome cleaner way of dealing with binary-equivalent types,
342+
--just leavethosethree tuples in the expected output.
343343
SELECT p1.oid, p1.oprname
344344
FROM pg_operator AS p1
345345
WHERE p1.oprcanhash AND NOT
346346
(p1.oprkind = 'b' AND p1.oprresult = 16 AND p1.oprleft = p1.oprright AND
347347
p1.oprname = '=' AND p1.oprcom = p1.oid);
348348
oid | oprname
349349
------+---------
350+
353 | =
350351
1136 | =
351352
1137 | =
352-
(2 rows)
353+
(3 rows)
353354

354355
-- In 6.5 we accepted hashable array equality operators when the array element
355356
-- type is hashable. However, what we actually need to make hashjoin work on

‎src/test/regress/sql/opr_sanity.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,9 @@ WHERE p1.oprlsortop != p1.oprrsortop AND
275275
-- Hashing only works on simple equality operators "type = sametype",
276276
-- since the hash itself depends on the bitwise representation of the type.
277277
-- Check that allegedly hashable operators look like they might be "=".
278-
-- NOTE: in6.5, this search finds int4eqoid andoideqint4. Until we have
279-
-- some cleaner way of dealing with binary-equivalent types, just leave
280-
-- thosetwo tuples in the expected output.
278+
-- NOTE: in7.2, this search finds int4eqoid,oideqint4, and xideqint4.
279+
--Until we havesome cleaner way of dealing with binary-equivalent types,
280+
--just leavethosethree tuples in the expected output.
281281

282282
SELECTp1.oid,p1.oprname
283283
FROM pg_operatorAS p1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp