Skip to content

Commit 5059cf6

Browse files
committed
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.
1 parent a9cc9df commit 5059cf6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contrib/pg_upgrade/server.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,7 @@ start_postmaster(ClusterInfo *cluster)
193193
PQerrorMessage(conn));
194194
if (conn)
195195
PQfinish(conn);
196-
pg_log(PG_FATAL, "unable to connect to %s postmaster started with the command: %s\n"
197-
"Perhaps pg_hba.conf was not set to \"trust\".\n",
196+
pg_log(PG_FATAL, "unable to connect to %s postmaster started with the command: %s\n",
198197
CLUSTER_NAME(cluster), cmd);
199198
}
200199
PQfinish(conn);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy