mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Honour TEMP_CONFIG when testing pg_upgrade
This setting contains extra configuration for the temp instance, as used in pg_regress' --temp-config flag. Backpatch to 9.2 where test.sh was introduced.
This commit is contained in:
parent
11103c6d95
commit
e61fb6d542
@ -19,6 +19,10 @@ export PGPORT
|
||||
# authentication configuration.
|
||||
standard_initdb() {
|
||||
"$1"
|
||||
if [ -n "$TEMP_CONFIG" -a -r "$TEMP_CONFIG" ]
|
||||
then
|
||||
cat "$TEMP_CONFIG" >> "$PGDATA/postgresql.conf"
|
||||
fi
|
||||
../../src/test/regress/pg_regress --config-auth "$PGDATA"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user