diff --git a/src/bin/pg_upgrade/pg_upgrade.c b/src/bin/pg_upgrade/pg_upgrade.c index 054d1b07c29..506666acdf1 100644 --- a/src/bin/pg_upgrade/pg_upgrade.c +++ b/src/bin/pg_upgrade/pg_upgrade.c @@ -371,9 +371,7 @@ get_cluster_version(ClusterInfo *cluster) PQfinish(conn); - stop_postmaster(cluster); - - return; + stop_postmaster(false); } #ifdef WIN32