OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb61218
)
Put back change to 'connection failed' message formatting that someone
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 16 Jan 2000 20:34:54 +0000
(20:34 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 16 Jan 2000 20:34:54 +0000
(20:34 +0000)
overwrote.
src/bin/psql/startup.c
patch
|
blob
|
history
diff --git
a/src/bin/psql/startup.c
b/src/bin/psql/startup.c
index
273a7e1
..
2b2a1db
100644
(file)
--- a/
src/bin/psql/startup.c
+++ b/
src/bin/psql/startup.c
@@
-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);
}