The query introduced in
8b532771a099 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.
-- 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
-- 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