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 @@ -250,6 +250,7 @@ migrate_db ()
250250
251251 # Migration path.
252252 (
253+ set -o pipefail
253254 if [ ${POSTGRESQL_MIGRATION_IGNORE_ERRORS-no} = no ]; then
254255 echo ' \set ON_ERROR_STOP on'
255256 fi
Original file line number Diff line number Diff line change @@ -250,6 +250,7 @@ migrate_db ()
250250
251251 # Migration path.
252252 (
253+ set -o pipefail
253254 if [ ${POSTGRESQL_MIGRATION_IGNORE_ERRORS-no} = no ]; then
254255 echo ' \set ON_ERROR_STOP on'
255256 fi
Original file line number Diff line number Diff line change @@ -250,6 +250,7 @@ migrate_db ()
250250
251251 # Migration path.
252252 (
253+ set -o pipefail
253254 if [ ${POSTGRESQL_MIGRATION_IGNORE_ERRORS-no} = no ]; then
254255 echo ' \set ON_ERROR_STOP on'
255256 fi
Original file line number Diff line number Diff line change @@ -250,6 +250,7 @@ migrate_db ()
250250
251251 # Migration path.
252252 (
253+ set -o pipefail
253254 if [ ${POSTGRESQL_MIGRATION_IGNORE_ERRORS-no} = no ]; then
254255 echo ' \set ON_ERROR_STOP on'
255256 fi
Original file line number Diff line number Diff line change @@ -250,6 +250,7 @@ migrate_db ()
250250
251251 # Migration path.
252252 (
253+ set -o pipefail
253254 if [ ${POSTGRESQL_MIGRATION_IGNORE_ERRORS-no} = no ]; then
254255 echo ' \set ON_ERROR_STOP on'
255256 fi
Original file line number Diff line number Diff line change @@ -251,6 +251,7 @@ migrate_db ()
251251
252252 # Migration path.
253253 (
254+ set -o pipefail
254255 if [ ${POSTGRESQL_MIGRATION_IGNORE_ERRORS-no} = no ]; then
255256 echo ' \set ON_ERROR_STOP on'
256257 fi
You can’t perform that action at this time.
0 commit comments