Skip to content
Snippets Groups Projects
Commit fdc85f50 authored by Tom Lane's avatar Tom Lane
Browse files

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

overwrote.
parent bb61218c
No related branches found
No related tags found
No related merge requests found
...@@ -157,8 +157,8 @@ main(int argc, char **argv) ...@@ -157,8 +157,8 @@ 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);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment