Skip to content
Snippets Groups Projects
Commit 23b65b80 authored by Tom Lane's avatar Tom Lane
Browse files

Hm, seems my hack on rowtypes regression test has made its output row

order platform-specific.  Add an ORDER BY clause to stop buildfarm
failures.
parent fc7de7c2
No related branches found
No related tags found
No related merge requests found
......@@ -207,11 +207,12 @@ HINT: Row comparison operators must be associated with btree operator families.
-- Check row comparison with a subselect
select unique1, unique2 from tenk1
where (unique1, unique2) < any (select ten, ten from tenk1 where hundred < 3)
and unique1 <= 20;
and unique1 <= 20
order by 1;
unique1 | unique2
---------+---------
1 | 2838
0 | 9998
1 | 2838
(2 rows)
-- Also check row comparison with an indexable condition
......
......@@ -101,7 +101,8 @@ select ROW('ABC','DEF') ~~ ROW('DEF','ABC') as fail;
-- Check row comparison with a subselect
select unique1, unique2 from tenk1
where (unique1, unique2) < any (select ten, ten from tenk1 where hundred < 3)
and unique1 <= 20;
and unique1 <= 20
order by 1;
-- Also check row comparison with an indexable condition
select thousand, tenthous from tenk1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment