diff --git a/.github/composite-actions/dump-restore-util/action.yml b/.github/composite-actions/dump-restore-util/action.yml index 7e88024ef3..5b585b96d3 100644 --- a/.github/composite-actions/dump-restore-util/action.yml +++ b/.github/composite-actions/dump-restore-util/action.yml @@ -47,11 +47,11 @@ runs: if [[ '${{ inputs.logical_database }}' == 'null' ]];then echo 'Starting to dump whole Babelfish physical database' ~/${{ inputs.pg_new_dir }}/bin/pg_dumpall -h localhost --database jdbc_testdb --username jdbc_user --globals-only --quote-all-identifiers --verbose --no-role-passwords -f pg_dump_globals.sql 2>>error.log - ~/${{ inputs.pg_new_dir }}/bin/pg_dump -h localhost --username jdbc_user --quote-all-identifiers --verbose --format=custom --file="pg_dump.custom" --dbname=jdbc_testdb 2>>error.log + ~/${{ inputs.pg_new_dir }}/bin/pg_dump -h localhost --username jdbc_user --column-inserts --quote-all-identifiers --verbose --format=custom --file="pg_dump.custom" --dbname=jdbc_testdb 2>>error.log else echo "Starting to dump Babelfish logical database ${{ inputs.logical_database }}" ~/${{ inputs.pg_new_dir }}/bin/pg_dumpall -h localhost --database jdbc_testdb --username jdbc_user --globals-only --quote-all-identifiers --verbose --no-role-passwords --bbf-database-name='${{ inputs.logical_database }}' -f pg_dump_globals.sql 2>>error.log - ~/${{ inputs.pg_new_dir }}/bin/pg_dump -h localhost --username jdbc_user --quote-all-identifiers --verbose --format=custom --bbf-database-name='${{ inputs.logical_database }}' --file="pg_dump.custom" --dbname=jdbc_testdb 2>>error.log + ~/${{ inputs.pg_new_dir }}/bin/pg_dump -h localhost --username jdbc_user --column-inserts --quote-all-identifiers --verbose --format=custom --bbf-database-name='${{ inputs.logical_database }}' --file="pg_dump.custom" --dbname=jdbc_testdb 2>>error.log fi # Stop old server and start the new.