Commit 9384dc6e authored by Peter Eisentraut's avatar Peter Eisentraut

Improve error message.

parent a14424a9
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -937,7 +937,7 @@ connectDBStart(PGconn *conn)
if (ret || addrs == NULL) if (ret || addrs == NULL)
{ {
printfPQExpBuffer(&conn->errorMessage, printfPQExpBuffer(&conn->errorMessage,
libpq_gettext("failed to getaddrinfo(): %s\n"), libpq_gettext("getaddrinfo() failed: %s\n"),
gai_strerror(ret)); gai_strerror(ret));
goto connect_errReturn; goto connect_errReturn;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment