We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19e5cad commit 4b21113Copy full SHA for 4b21113
ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh
@@ -373,7 +373,7 @@ function initiate_upgrade {
373
echo "8.1. Granting SUPERUSER to postgres user"
374
run_sql -c "ALTER USER postgres WITH SUPERUSER;"
375
376
- if [ "$OLD_BOOTSTRAP_USER" = "postgres" ] && [ "$PGVERSION" != "15" ]; then
+ if [ "$OLD_BOOTSTRAP_USER" = "postgres" ]; then
377
echo "8.2. Swap postgres & supabase_admin roles as we're upgrading a project with postgres as bootstrap user"
378
swap_postgres_and_supabase_admin
379
fi
0 commit comments