Skip to content

Commit b5e384e

Browse files
committed
Add missing newlines to error messages.
1 parent b5e560c commit b5e384e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/bin/pg_rewind/copy_fetch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ recurse_dir(const char *datadir, const char *parentpath,
8787
*/
8888
}
8989
else
90-
pg_fatal("could not stat file \"%s\": %s",
90+
pg_fatal("could not stat file \"%s\": %s\n",
9191
fullpath, strerror(errno));
9292
}
9393

src/bin/pg_rewind/parsexlog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ extractPageMap(const char *datadir, XLogRecPtr startpoint, TimeLineID tli,
7171
private.tli = tli;
7272
xlogreader = XLogReaderAllocate(&SimpleXLogPageRead, &private);
7373
if (xlogreader == NULL)
74-
pg_fatal("out of memory");
74+
pg_fatal("out of memory\n");
7575

7676
do
7777
{
@@ -124,7 +124,7 @@ readOneRecord(const char *datadir, XLogRecPtr ptr, TimeLineID tli)
124124
private.tli = tli;
125125
xlogreader = XLogReaderAllocate(&SimpleXLogPageRead, &private);
126126
if (xlogreader == NULL)
127-
pg_fatal("out of memory");
127+
pg_fatal("out of memory\n");
128128

129129
record = XLogReadRecord(xlogreader, ptr, &errormsg);
130130
if (record == NULL)
@@ -176,7 +176,7 @@ findLastCheckpoint(const char *datadir, XLogRecPtr forkptr, TimeLineID tli,
176176
private.tli = tli;
177177
xlogreader = XLogReaderAllocate(&SimpleXLogPageRead, &private);
178178
if (xlogreader == NULL)
179-
pg_fatal("out of memory");
179+
pg_fatal("out of memory\n");
180180

181181
searchptr = forkptr;
182182
for (;;)

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