mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Use stricter ordering in regression test query for pg_stat_io
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.
This commit is contained in:
parent
8b532771a0
commit
21f653cc00
@ -14,7 +14,7 @@ SHOW track_counts; -- must be on
|
|||||||
-- List of backend types, contexts and objects tracked in pg_stat_io.
|
-- List of backend types, contexts and objects tracked in pg_stat_io.
|
||||||
\a
|
\a
|
||||||
SELECT backend_type, object, context FROM pg_stat_io
|
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
|
backend_type|object|context
|
||||||
autovacuum launcher|relation|bulkread
|
autovacuum launcher|relation|bulkread
|
||||||
autovacuum launcher|relation|init
|
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.
|
-- List of backend types, contexts and objects tracked in pg_stat_io.
|
||||||
\a
|
\a
|
||||||
SELECT backend_type, object, context FROM pg_stat_io
|
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
|
\a
|
||||||
|
|
||||||
-- ensure that both seqscan and indexscan plans are allowed
|
-- ensure that both seqscan and indexscan plans are allowed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user