Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 23b65b8

Browse files
committed
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.
1 parent fc7de7c commit 23b65b8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/test/regress/expected/rowtypes.out

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,12 @@ HINT: Row comparison operators must be associated with btree operator families.
207207
-- Check row comparison with a subselect
208208
select unique1, unique2 from tenk1
209209
where (unique1, unique2) < any (select ten, ten from tenk1 where hundred < 3)
210-
and unique1 <= 20;
210+
and unique1 <= 20
211+
order by 1;
211212
unique1 | unique2
212213
---------+---------
213-
1 | 2838
214214
0 | 9998
215+
1 | 2838
215216
(2 rows)
216217

217218
-- Also check row comparison with an indexable condition

src/test/regress/sql/rowtypes.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ select ROW('ABC','DEF') ~~ ROW('DEF','ABC') as fail;
101101
-- Check row comparison with a subselect
102102
select unique1, unique2 from tenk1
103103
where (unique1, unique2) < any (select ten, ten from tenk1 where hundred < 3)
104-
and unique1 <= 20;
104+
and unique1 <= 20
105+
order by 1;
105106

106107
-- Also check row comparison with an indexable condition
107108
select thousand, tenthous from tenk1

0 commit comments

Comments
 (0)