From ea1ca04320e370d0810e97c788893b48be4cffd5 Mon Sep 17 00:00:00 2001 From: Pranav Jain Date: Wed, 27 Nov 2024 11:28:27 +0000 Subject: [PATCH] try changes to get full logfile Signed-off-by: Pranav Jain --- .github/composite-actions/install-extensions/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/composite-actions/install-extensions/action.yml b/.github/composite-actions/install-extensions/action.yml index d3ed6c3cb8..ee7e2c4b10 100644 --- a/.github/composite-actions/install-extensions/action.yml +++ b/.github/composite-actions/install-extensions/action.yml @@ -65,9 +65,9 @@ runs: if [[ ${{ inputs.server_collation_name }} != "default" ]]; then sudo echo "babelfishpg_tsql.server_collation_name = '${{ inputs.server_collation_name }}'" >> postgresql.conf fi - ~/${{inputs.install_dir}}/bin/pg_ctl -c -D ~/${{inputs.install_dir}}/data/ -l logfile start + ~/${{inputs.install_dir}}/bin/pg_ctl -c -D ~/${{inputs.install_dir}}/data/ -l ~/${{inputs.install_dir}}/data/logfile start cd ~/work/babelfish_extensions/babelfish_extensions/ sudo ~/${{inputs.install_dir}}/bin/psql -v ON_ERROR_STOP=1 -d postgres -U runner -p ${{inputs.psql_port}} -v user="jdbc_user" -v db="jdbc_testdb" -v migration_mode=${{inputs.migration_mode}} -v tsql_port=${{inputs.tsql_port}} -v parallel_query_mode=${{inputs.parallel_query_mode}} -f .github/scripts/create_extension.sql - ~/${{inputs.install_dir}}/bin/pg_ctl -c -D ~/${{inputs.install_dir}}/data/ -l logfile restart + ~/${{inputs.install_dir}}/bin/pg_ctl -c -D ~/${{inputs.install_dir}}/data/ -l ~/${{inputs.install_dir}}/data/logfile restart sqlcmd -S localhost,${{inputs.tsql_port}} -U "jdbc_user" -P 12345678 -Q "SELECT @@version GO" shell: bash