aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-03-08 09:57:17 -0500
committerPeter Eisentraut <peter_e@gmx.net>2017-03-08 10:08:32 -0500
commit911244610cd08fcdc28bd57db4a0d810cffc5080 (patch)
tree694dd69ffc0d204456f6d523a6dadff0a25d61ad
parent77d21970ae19418f321e6a76ddf1a57ae999c77a (diff)
downloadpostgresql-911244610cd08fcdc28bd57db4a0d810cffc5080.tar.gz
postgresql-911244610cd08fcdc28bd57db4a0d810cffc5080.zip
pg_waldump: Remove extra newline in error message
fatal_error() already prints out a trailing newline.
-rw-r--r--src/bin/pg_waldump/pg_waldump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_waldump/pg_waldump.c b/src/bin/pg_waldump/pg_waldump.c
index f4bfacfe87f..bfe44b8a692 100644
--- a/src/bin/pg_waldump/pg_waldump.c
+++ b/src/bin/pg_waldump/pg_waldump.c
@@ -1059,7 +1059,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);