mirror of
https://github.com/postgres/postgres.git
synced 2025-08-06 18:42:54 +03:00
Check pgdump return request.
This commit is contained in:
@@ -53,6 +53,6 @@ END`"
|
||||
echo "${BS}connect template1 $POSTGRES_USER"
|
||||
echo "create database $DATABASE;"
|
||||
echo "${BS}connect $DATABASE $POSTGRES_USER"
|
||||
pg_dump "$@" $DATABASE
|
||||
pg_dump "$@" $DATABASE || echo "pg_dump failed on $DATABASE" 1>&2
|
||||
done
|
||||
# done
|
||||
|
Reference in New Issue
Block a user