Skip to content

Commit 67781c2

Browse files
committed
test
1 parent 778b9b7 commit 67781c2

File tree

1 file changed

+2
-1
lines changed
  • ansible/files/admin_api_scripts/pg_upgrade_scripts

1 file changed

+2
-1
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,8 @@ function initiate_upgrade {
310310
handle_extensions
311311

312312
echo "8. TODO"
313-
echo "local all all trust" >> /etc/postgresql/pg_hba.conf
313+
echo "local all all trust
314+
$(cat /etc/postgresql/pg_hba.conf)" > /etc/postgresql/pg_hba.conf
314315
run_sql -c "alter role postgres superuser;"
315316
run_sql -c "create role supabase_tmp login superuser;"
316317
psql -h localhost -U supabase_tmp -d postgres "$@" <<-EOSQL

0 commit comments

Comments
 (0)