mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-07 12:20:31 +01: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…
Reference in New Issue
Block a user