git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fc7de7c)
Hm, seems my hack on rowtypes regression test has made its output row
2007年2月10日 04:18:32 +0000 (04:18 +0000)
2007年2月10日 04:18:32 +0000 (04:18 +0000)
order platform-specific. Add an ORDER BY clause to stop buildfarm
failures.


diff --git a/src/test/regress/expected/rowtypes.out b/src/test/regress/expected/rowtypes.out
index 8d3f5dffb155e2ed466322710a67c5b27d4d31be..dbf163cd695b88c57088266ed9aa3fca5e44bdaf 100644 (file)
--- a/src/test/regress/expected/rowtypes.out
+++ b/src/test/regress/expected/rowtypes.out
@@ -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
diff --git a/src/test/regress/sql/rowtypes.sql b/src/test/regress/sql/rowtypes.sql
index 1b68bad7a5e9c3d74fdc83e6273058fab96c5204..779b20e8631e2f01cd57cda59a521d30a67afc8f 100644 (file)
--- a/src/test/regress/sql/rowtypes.sql
+++ b/src/test/regress/sql/rowtypes.sql
@@ -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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /