Skip to content

Commit 49efb01

Browse files
committed
test
1 parent 46d69ca commit 49efb01

File tree

1 file changed

+4
-4
lines changed
  • ansible/files/admin_api_scripts/pg_upgrade_scripts

1 file changed

+4
-4
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -366,10 +366,10 @@ function initiate_upgrade {
366366
su -c "$PGBINNEW/initdb -L $PGSHARENEW -D $PGDATANEW/ --username=supabase_admin" -s "$SHELL" postgres
367367
fi
368368

369-
# pg_upgrade connects to the db as supabase_admin using unix sockets, which
370-
# is gated behind scram-sha-256 per the current pg_hba.conf.j2. This avoids
371-
# the need to supply the supabase_admin password on the old instance. The
372-
# new instance is unaffected.
369+
# This line avoids the need to supply the supabase_admin password on the old
370+
# instance, since pg_upgrade connects to the db as supabase_admin using unix
371+
# sockets, which is gated behind scram-sha-256 per pg_hba.conf.j2. The new
372+
# instance is unaffected.
373373
echo "local all supabase_admin trust
374374
$(cat /etc/postgresql/pg_hba.conf)" > /etc/postgresql/pg_hba.conf
375375
run_sql -c "select pg_reload_conf();"

0 commit comments

Comments
 (0)