Commit fdc85f50 authored by Tom Lane's avatar Tom Lane

Put back change to 'connection failed' message formatting that someone

overwrote.
parent bb61218c
...@@ -157,7 +157,7 @@ main(int argc, char **argv) ...@@ -157,7 +157,7 @@ main(int argc, char **argv)
if (PQstatus(pset.db) == CONNECTION_BAD) if (PQstatus(pset.db) == CONNECTION_BAD)
{ {
fprintf(stderr, "%s: connection to database '%s' failed - %s", fprintf(stderr, "%s: connection to database '%s' failed.\n%s",
pset.progname, PQdb(pset.db), PQerrorMessage(pset.db)); pset.progname, PQdb(pset.db), PQerrorMessage(pset.db));
PQfinish(pset.db); PQfinish(pset.db);
exit(EXIT_BADCONN); exit(EXIT_BADCONN);
......
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