Commit a9246fbf authored by Tom Lane's avatar Tom Lane

Remove unnecessary row ordering dependency in pg_rewind test suite.

t/002_databases.pl was expecting to see a specific physical order of the
rows in pg_database.  I broke that in HEAD with commit 01e386a3,
but I'd say it's a pretty fragile test methodology in any case, so fix
it in 9.5 as well.
parent 71dd092c
...@@ -32,13 +32,13 @@ sub run_test ...@@ -32,13 +32,13 @@ sub run_test
# Check that the correct databases are present after pg_rewind. # Check that the correct databases are present after pg_rewind.
check_query( check_query(
'SELECT datname FROM pg_database', 'SELECT datname FROM pg_database ORDER BY 1',
qq(template1 qq(beforepromotion
template0
postgres
inmaster inmaster
beforepromotion postgres
standby_afterpromotion standby_afterpromotion
template0
template1
), ),
'database names'); 'database names');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment