diff --git a/contrib/pg_upgrade/server.c b/contrib/pg_upgrade/server.c
index f83d6fa866cc87e142a11a2289ff938c8c2f1ab6..57f09d4d4a43d64cc9541471c6b2c8dfa448f820 100644
--- a/contrib/pg_upgrade/server.c
+++ b/contrib/pg_upgrade/server.c
@@ -193,7 +193,7 @@ start_postmaster(ClusterInfo *cluster)
 
 	/* If the connection didn't fail, fail now */
 	if (pg_ctl_return != 0)
-		pg_log(PG_FATAL, "pg_ctl failed to start the %s server\n",
+		pg_log(PG_FATAL, "pg_ctl failed to start the %s server, or connection failed\n",
 			   CLUSTER_NAME(cluster));
 
 	os_info.running_cluster = cluster;