File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ unset MAKELEVEL
20
20
# Run a given "initdb" binary and overlay the regression testing
21
21
# authentication configuration.
22
22
standard_initdb () {
23
- " $1 " -N
23
+ # Specify "-A trust" explicitly to suppress initdb's warning.
24
+ " $1 " -N -A trust
24
25
if [ -n " $TEMP_CONFIG " -a -r " $TEMP_CONFIG " ]
25
26
then
26
27
cat " $TEMP_CONFIG " >> " $PGDATA /postgresql.conf"
160
161
EXTRA_REGRESS_OPTS=" $EXTRA_REGRESS_OPTS --port=$PGPORT "
161
162
export EXTRA_REGRESS_OPTS
162
163
163
- # enable echo so the user can see what is being executed
164
- set -x
165
-
166
164
standard_initdb " $oldbindir " /initdb
167
165
" $oldbindir " /pg_ctl start -l " $logdir /postmaster1.log" -o " $POSTMASTER_OPTS " -w
168
166
@@ -248,10 +246,6 @@ esac
248
246
pg_dumpall --no-sync -f " $temp_root " /dump2.sql || pg_dumpall2_status=$?
249
247
pg_ctl -m fast stop
250
248
251
- # no need to echo commands anymore
252
- set +x
253
- echo
254
-
255
249
if [ -n " $pg_dumpall2_status " ]; then
256
250
echo " pg_dumpall of post-upgrade database cluster failed"
257
251
exit 1
You can’t perform that action at this time.
0 commit comments