From: Peter Eisentraut Date: Tue, 18 Mar 2003 22:11:48 +0000 (+0000) Subject: Improve error message. X-Git-Tag: REL7_4_BETA1~915 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9384dc6e597baf53d3aa07343163ec7011e6181a;p=postgresql Improve error message. --- diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 159de32996..ac57659365 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.226 2003/03/17 17:58:57 momjian Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.227 2003/03/18 22:11:48 petere Exp $ * *------------------------------------------------------------------------- */ @@ -937,7 +937,7 @@ connectDBStart(PGconn *conn) if (ret || addrs == NULL) { printfPQExpBuffer(&conn->errorMessage, - libpq_gettext("failed to getaddrinfo(): %s\n"), + libpq_gettext("getaddrinfo() failed: %s\n"), gai_strerror(ret)); goto connect_errReturn; }