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

Commit23b65b8

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 buildfarmfailures.
1 parentfc7de7c commit23b65b8

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, unique2from tenk1
103103
where (unique1, unique2)< any (select ten, tenfrom tenk1where hundred<3)
104-
and unique1<=20;
104+
and unique1<=20
105+
order by1;
105106

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp