Commit 5059cf6e authored by Bruce Momjian's avatar Bruce Momjian

In pg_upgrade, remove suggestion of setting pg_hba.conf to 'trust', now

that we report the libpq connection failure string.  Per suggestion from
Robert Haas.
parent a9cc9df0
...@@ -193,8 +193,7 @@ start_postmaster(ClusterInfo *cluster) ...@@ -193,8 +193,7 @@ start_postmaster(ClusterInfo *cluster)
PQerrorMessage(conn)); PQerrorMessage(conn));
if (conn) if (conn)
PQfinish(conn); PQfinish(conn);
pg_log(PG_FATAL, "unable to connect to %s postmaster started with the command: %s\n" 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",
CLUSTER_NAME(cluster), cmd); CLUSTER_NAME(cluster), cmd);
} }
PQfinish(conn); PQfinish(conn);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment