Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
40ed132c
Commit
40ed132c
authored
Sep 30, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Addition of xid=int4 operator makes opr_sanity unhappy.
parent
650c1750
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
src/test/regress/expected/opr_sanity.out
src/test/regress/expected/opr_sanity.out
+5
-4
src/test/regress/sql/opr_sanity.sql
src/test/regress/sql/opr_sanity.sql
+3
-3
No files found.
src/test/regress/expected/opr_sanity.out
View file @
40ed132c
...
@@ -337,9 +337,9 @@ WHERE p1.oprlsortop != p1.oprrsortop AND
...
@@ -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
...
@@ -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
...
...
src/test/regress/sql/opr_sanity.sql
View file @
40ed132c
...
@@ -275,9 +275,9 @@ WHERE p1.oprlsortop != p1.oprrsortop AND
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment