Content-Length: 289409 | pFad | http://github.com/postgrespro/postgres/commit/21f653cc0024100f8ecc279162631f2b1ba8c46c

8C Use stricter ordering in regression test query for pg_stat_io · postgrespro/postgres@21f653c · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/21f653cc0024100f8ecc279162631f2b1ba8c46c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy