Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
upgrade-postgres: Pass the requested postgres explicitly.
Tim Abbott5de6f3523c89
diff --git a/scripts/setup/upgrade-postgres b/scripts/setup/upgrade-postgresindex 03874195e2c..9eedb5c00db 100755--- a/scripts/setup/upgrade-postgres+++ b/scripts/setup/upgrade-postgres@@ -40,7 +40,7 @@ fi# Capture the output so we know where the path to the post-upgrade scripts isUPGRADE_LOG=$(mktemp "/var/log/zulip/postgres-upgrade-$UPGRADE_FROM-$UPGRADE_TO.XXXXXXXXX.log")-pg_upgradecluster "$UPGRADE_FROM" main --method=upgrade --link | tee "$UPGRADE_LOG"+pg_upgradecluster -v "$UPGRADE_TO" "$UPGRADE_FROM" main --method=upgrade --link | tee "$UPGRADE_LOG"SCRIPTS_PATH=$(grep -o "/var/log/postgresql/pg_upgradecluster-$UPGRADE_FROM-$UPGRADE_TO-main.*" "$UPGRADE_LOG" || true)# If the upgrade completed successfully, lock in the new version in