Skip to content

Commit a9246fb

Browse files
committed
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 01e386a, but I'd say it's a pretty fragile test methodology in any case, so fix it in 9.5 as well.
1 parent 71dd092 commit a9246fb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/bin/pg_rewind/t/002_databases.pl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ sub run_test
3232

3333
# Check that the correct databases are present after pg_rewind.
3434
check_query(
35-
'SELECT datname FROM pg_database',
36-
qq(template1
37-
template0
38-
postgres
35+
'SELECT datname FROM pg_database ORDER BY 1',
36+
qq(beforepromotion
3937
inmaster
40-
beforepromotion
38+
postgres
4139
standby_afterpromotion
40+
template0
41+
template1
4242
),
4343
'database names');
4444

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy