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

Commit5ed2d2c

Browse files
committed
Honour TEMP_CONFIG when testing pg_upgrade
This setting contains extra configuration for the temp instance, as usedin pg_regress' --temp-config flag.Backpatch to 9.2 where test.sh was introduced.
1 parente2e46a9 commit5ed2d2c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎contrib/pg_upgrade/test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ unset MAKELEVEL
2121
# authentication configuration.
2222
standard_initdb() {
2323
"$1" -N
24+
if [-n"$TEMP_CONFIG"-a-r"$TEMP_CONFIG" ]
25+
then
26+
cat"$TEMP_CONFIG">>"$PGDATA/postgresql.conf"
27+
fi
2428
../../src/test/regress/pg_regress --config-auth"$PGDATA"
2529
}
2630

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp