Skip to content

Commit feb4d35

Browse files
committed
pg_xlogdump: Remove extra newline in error message
fatal_error() already prints out a trailing newline.
1 parent c6117ee commit feb4d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_xlogdump/pg_xlogdump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ main(int argc, char **argv)
10481048
XLogDumpDisplayStats(&config, &stats);
10491049

10501050
if (errormsg)
1051-
fatal_error("error in WAL record at %X/%X: %s\n",
1051+
fatal_error("error in WAL record at %X/%X: %s",
10521052
(uint32) (xlogreader_state->ReadRecPtr >> 32),
10531053
(uint32) xlogreader_state->ReadRecPtr,
10541054
errormsg);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy