We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7876ed8 commit 1352205Copy full SHA for 1352205
ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh
@@ -435,6 +435,11 @@ $(cat /etc/postgresql/pg_hba.conf)" > /etc/postgresql/pg_hba.conf
435
echo "max_slot_wal_keep_size = -1" >> "$TMP_CONFIG"
436
fi
437
438
+ # Remove db_user_namespace if upgrading from PG15
439
+ if [[ "$OLD_PGVERSION" =~ ^15.* ]]; then
440
+ sed -i '/^db_user_namespace/d' "$TMP_CONFIG"
441
+ fi
442
+
443
chown postgres:postgres "$TMP_CONFIG"
444
445
UPGRADE_COMMAND=$(cat <<EOF
0 commit comments