File tree Expand file tree Collapse file tree 6 files changed +6
-0
lines changed
10/root/usr/share/container-scripts/postgresql
12/root/usr/share/container-scripts/postgresql
13/root/usr/share/container-scripts/postgresql
14/root/usr/share/container-scripts/postgresql
15/root/usr/share/container-scripts/postgresql
src/root/usr/share/container-scripts/postgresql Expand file tree Collapse file tree 6 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,7 @@ migrate_db ()
260260 pg_dumpall -h " $POSTGRESQL_MIGRATION_REMOTE_HOST " \
261261 | grep -v ' ^CREATE ROLE postgres;'
262262 ) | psql
263+ set +o pipefail
263264}
264265
265266function set_pgdata ()
Original file line number Diff line number Diff line change @@ -260,6 +260,7 @@ migrate_db ()
260260 pg_dumpall -h " $POSTGRESQL_MIGRATION_REMOTE_HOST " \
261261 | grep -v ' ^CREATE ROLE postgres;'
262262 ) | psql
263+ set +o pipefail
263264}
264265
265266function set_pgdata ()
Original file line number Diff line number Diff line change @@ -260,6 +260,7 @@ migrate_db ()
260260 pg_dumpall -h " $POSTGRESQL_MIGRATION_REMOTE_HOST " \
261261 | grep -v ' ^CREATE ROLE postgres;'
262262 ) | psql
263+ set +o pipefail
263264}
264265
265266function set_pgdata ()
Original file line number Diff line number Diff line change @@ -260,6 +260,7 @@ migrate_db ()
260260 pg_dumpall -h " $POSTGRESQL_MIGRATION_REMOTE_HOST " \
261261 | grep -v ' ^CREATE ROLE postgres;'
262262 ) | psql
263+ set +o pipefail
263264}
264265
265266function set_pgdata ()
Original file line number Diff line number Diff line change @@ -260,6 +260,7 @@ migrate_db ()
260260 pg_dumpall -h " $POSTGRESQL_MIGRATION_REMOTE_HOST " \
261261 | grep -v ' ^CREATE ROLE postgres;'
262262 ) | psql
263+ set +o pipefail
263264}
264265
265266function set_pgdata ()
Original file line number Diff line number Diff line change @@ -261,6 +261,7 @@ migrate_db ()
261261 pg_dumpall -h " $POSTGRESQL_MIGRATION_REMOTE_HOST " \
262262 | grep -v ' ^CREATE ROLE postgres;'
263263 ) | psql
264+ set +o pipefail
264265}
265266
266267function set_pgdata ()
You can’t perform that action at this time.
0 commit comments