mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Put back change to 'connection failed' message formatting that someone
overwrote.
This commit is contained in:
parent
bb61218c5f
commit
fdc85f50a3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user