summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2011-05-10 14:42:43 +0000
committerBruce Momjian2011-05-10 14:42:43 +0000
commit5059cf6ebf36bc9731b8394a1d2c9dba6cb50a3c (patch)
treed40e6ece688ac125abbcd728a606e1b4f7958202
parenta9cc9df021f43a8ecda0924236d22a004baa7d13 (diff)
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.
-rw-r--r--contrib/pg_upgrade/server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/pg_upgrade/server.c b/contrib/pg_upgrade/server.c
index 224fc9642e..8fce305d2e 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);