OSDN Git Service

In pg_upgrade, remove suggestion of setting pg_hba.conf to 'trust', now
authorBruce Momjian <bruce@momjian.us>
Tue, 10 May 2011 14:42:43 +0000 (10:42 -0400)
committerBruce Momjian <bruce@momjian.us>
Tue, 10 May 2011 14:42:43 +0000 (10:42 -0400)
that we report the libpq connection failure string.  Per suggestion from
Robert Haas.

contrib/pg_upgrade/server.c

index 224fc96..8fce305 100644 (file)
@@ -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);