mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Put back change to 'connection failed' message formatting that someone
overwrote.
This commit is contained in:
@ -157,8 +157,8 @@ main(int argc, char **argv)
|
||||
|
||||
if (PQstatus(pset.db) == CONNECTION_BAD)
|
||||
{
|
||||
fprintf(stderr, "%s: connection to database '%s' failed - %s",
|
||||
pset.progname, PQdb(pset.db), PQerrorMessage(pset.db));
|
||||
fprintf(stderr, "%s: connection to database '%s' failed.\n%s",
|
||||
pset.progname, PQdb(pset.db), PQerrorMessage(pset.db));
|
||||
PQfinish(pset.db);
|
||||
exit(EXIT_BADCONN);
|
||||
}
|
||||
|
Reference in New Issue
Block a user