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.
pull/1/head
Bruce Momjian 14 years ago
parent a9cc9df021
commit 5059cf6ebf
  1. 3
      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);

Loading…
Cancel
Save