improve error output for io-tests and with_tmp_db
This commit is contained in:
committed by
Wolfgang Walther
parent
609c9aead8
commit
7d6d015822
@@ -78,7 +78,14 @@ until pg_isready >> "$setuplog"; do
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
stopped=0
|
||||
stop() {
|
||||
# cleaning up once is enough; otherwise we get some errors
|
||||
if [ $stopped -eq 1 ]; then
|
||||
return
|
||||
fi
|
||||
stopped=1
|
||||
|
||||
log "Stopping the database cluster..."
|
||||
pg_ctl stop -m i >> "$setuplog"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user