Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6117ee
)
pg_xlogdump: Remove extra newline in error message
author
Peter Eisentraut
<peter_e@gmx.net>
Wed, 8 Mar 2017 14:57:17 +0000
(09:57 -0500)
committer
Peter Eisentraut
<peter_e@gmx.net>
Wed, 8 Mar 2017 14:58:08 +0000
(09:58 -0500)
fatal_error() already prints out a trailing newline.
src/bin/pg_xlogdump/pg_xlogdump.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_xlogdump/pg_xlogdump.c
b/src/bin/pg_xlogdump/pg_xlogdump.c
index 5c546ceb79784316833fe518ef3d7b71a4c5b638..ac5f1612431c90c33333e3ab6217e7bc6349d4a3 100644
(file)
--- a/
src/bin/pg_xlogdump/pg_xlogdump.c
+++ b/
src/bin/pg_xlogdump/pg_xlogdump.c
@@
-1048,7
+1048,7
@@
main(int argc, char **argv)
XLogDumpDisplayStats(&config, &stats);
if (errormsg)
- fatal_error("error in WAL record at %X/%X: %s
\n
",
+ fatal_error("error in WAL record at %X/%X: %s",
(uint32) (xlogreader_state->ReadRecPtr >> 32),
(uint32) xlogreader_state->ReadRecPtr,
errormsg);