Improve pg_upgrade wording for pg_ctl start failure; could be
authorBruce Momjian
Fri, 15 Jun 2012 23:57:01 +0000 (19:57 -0400)
committerBruce Momjian
Fri, 15 Jun 2012 23:57:01 +0000 (19:57 -0400)
connection failure.

Backpatch to 9.2.

Per report from Evan D. Hoffman

contrib/pg_upgrade/server.c

index f83d6fa866cc87e142a11a2289ff938c8c2f1ab6..57f09d4d4a43d64cc9541471c6b2c8dfa448f820 100644 (file)
@@ -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;