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

overwrote.
This commit is contained in:
Tom Lane 2000-01-16 20:34:54 +00:00
parent bb61218c5f
commit fdc85f50a3

View File

@ -157,7 +157,7 @@ main(int argc, char **argv)
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));
PQfinish(pset.db);
exit(EXIT_BADCONN);