aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_rewind/t/002_databases.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/pg_rewind/t/002_databases.pl b/src/bin/pg_rewind/t/002_databases.pl
index f10899d4401..20bdb4ab59d 100644
--- a/src/bin/pg_rewind/t/002_databases.pl
+++ b/src/bin/pg_rewind/t/002_databases.pl
@@ -32,13 +32,13 @@ sub run_test
# Check that the correct databases are present after pg_rewind.
check_query(
- 'SELECT datname FROM pg_database',
- qq(template1
-template0
-postgres
+ 'SELECT datname FROM pg_database ORDER BY 1',
+ qq(beforepromotion
inmaster
-beforepromotion
+postgres
standby_afterpromotion
+template0
+template1
),
'database names');