Improve pg_upgrade wording for pg_ctl start failure; could be

connection failure.

Backpatch to 9.2.

Per report from Evan D. Hoffman
This commit is contained in:
Bruce Momjian 2012-06-15 19:57:01 -04:00
parent 15b1918e7d
commit 877b55c619

View File

@ -193,7 +193,7 @@ start_postmaster(ClusterInfo *cluster)
/* If the connection didn't fail, fail now */ /* If the connection didn't fail, fail now */
if (pg_ctl_return != 0) 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)); CLUSTER_NAME(cluster));
os_info.running_cluster = cluster; os_info.running_cluster = cluster;