diff --git a/contrib/pg_upgrade/server.c b/contrib/pg_upgrade/server.c
index 224fc9642e9971c1ad99c2f6903b236826fdbc62..8fce305d2e20fe483b6295f5f668204c4acc613a 100644
--- a/contrib/pg_upgrade/server.c
+++ b/contrib/pg_upgrade/server.c
@@ -193,8 +193,7 @@ start_postmaster(ClusterInfo *cluster)
 			   PQerrorMessage(conn));
  		if (conn)
 			PQfinish(conn);
-		pg_log(PG_FATAL, "unable to connect to %s postmaster started with the command: %s\n"
-			   "Perhaps pg_hba.conf was not set to \"trust\".\n",
+		pg_log(PG_FATAL, "unable to connect to %s postmaster started with the command: %s\n",
 			   CLUSTER_NAME(cluster), cmd);
 	}
 	PQfinish(conn);