mirror of
https://github.com/postgres/postgres.git
synced 2026-06-08 00:02:47 -04:00
Put back change to 'connection failed' message formatting that someone
overwrote.
This commit is contained in:
parent
bb61218c5f
commit
fdc85f50a3
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue