Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita9246fb

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 therows in pg_database. I broke that in HEAD with commit01e386a,but I'd say it's a pretty fragile test methodology in any case, so fixit in 9.5 as well.
1 parent71dd092 commita9246fb

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)

[8]ページ先頭

©2009-2025 Movatter.jp