mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Use stricter ordering in regression test query for pg_stat_io
The query introduced in 8b532771a0
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.
This commit is contained in:
@ -14,7 +14,7 @@ SHOW track_counts; -- must be on
|
||||
-- List of backend types, contexts and objects tracked in pg_stat_io.
|
||||
\a
|
||||
SELECT backend_type, object, context FROM pg_stat_io
|
||||
ORDER BY backend_type, object, context COLLATE "C";
|
||||
ORDER BY backend_type COLLATE "C", object COLLATE "C", context COLLATE "C";
|
||||
backend_type|object|context
|
||||
autovacuum launcher|relation|bulkread
|
||||
autovacuum launcher|relation|init
|
||||
|
@ -11,7 +11,7 @@ SHOW track_counts; -- must be on
|
||||
-- List of backend types, contexts and objects tracked in pg_stat_io.
|
||||
\a
|
||||
SELECT backend_type, object, context FROM pg_stat_io
|
||||
ORDER BY backend_type, object, context COLLATE "C";
|
||||
ORDER BY backend_type COLLATE "C", object COLLATE "C", context COLLATE "C";
|
||||
\a
|
||||
|
||||
-- ensure that both seqscan and indexscan plans are allowed
|
||||
|
Reference in New Issue
Block a user