projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
783acfd
)
pg_xlogdump: Remove extra newline in error message
author
Peter Eisentraut
Wed, 8 Mar 2017 14:57:17 +0000
(09:57 -0500)
committer
Peter Eisentraut
Wed, 8 Mar 2017 14:59:52 +0000
(09:59 -0500)
fatal_error() already prints out a trailing newline.
contrib/pg_xlogdump/pg_xlogdump.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_xlogdump/pg_xlogdump.c
b/contrib/pg_xlogdump/pg_xlogdump.c
index 3206d85854a590f0f873f15f048e5f11dd1f380b..5dae782ced9fd179ad325280273d0aef1e6cfad1 100644
(file)
--- a/
contrib/pg_xlogdump/pg_xlogdump.c
+++ b/
contrib/pg_xlogdump/pg_xlogdump.c
@@
-720,7
+720,7
@@
main(int argc, char **argv)
}
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);