File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
ansible/files/admin_api_scripts/pg_upgrade_scripts Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -366,10 +366,10 @@ function initiate_upgrade {
366
366
su -c " $PGBINNEW /initdb -L $PGSHARENEW -D $PGDATANEW / --username=supabase_admin" -s " $SHELL " postgres
367
367
fi
368
368
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.
373
373
echo " local all supabase_admin trust
374
374
$( cat /etc/postgresql/pg_hba.conf) " > /etc/postgresql/pg_hba.conf
375
375
run_sql -c " select pg_reload_conf();"
You can’t perform that action at this time.
0 commit comments