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

Commit 21f653c

Browse files
committed
Use stricter ordering in regression test query for pg_stat_io
The query introduced in 8b53277 is proving to have ordering issues under at least the locale cs_CZ. This commit updates the query to use a stricter ordering. Per reports from buildfarm members hippopotamus and jay.
1 parent 8b53277 commit 21f653c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/regress/expected/stats.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SHOW track_counts; -- must be on
1414
-- List of backend types, contexts and objects tracked in pg_stat_io.
1515
\a
1616
SELECT backend_type, object, context FROM pg_stat_io
17-
ORDER BY backend_type, object, context COLLATE "C";
17+
ORDER BY backend_type COLLATE "C", object COLLATE "C", context COLLATE "C";
1818
backend_type|object|context
1919
autovacuum launcher|relation|bulkread
2020
autovacuum launcher|relation|init

src/test/regress/sql/stats.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SHOW track_counts; -- must be on
1111
-- List of backend types, contexts and objects tracked in pg_stat_io.
1212
\a
1313
SELECT backend_type, object, context FROM pg_stat_io
14-
ORDER BY backend_type, object, context COLLATE "C";
14+
ORDER BY backend_type COLLATE "C", object COLLATE "C", context COLLATE "C";
1515
\a
1616

1717
-- ensure that both seqscan and indexscan plans are allowed

0 commit comments

Comments
 (0)