Commit b5e384e3 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Add missing newlines to error messages.

parent b5e560c2
...@@ -87,7 +87,7 @@ recurse_dir(const char *datadir, const char *parentpath, ...@@ -87,7 +87,7 @@ recurse_dir(const char *datadir, const char *parentpath,
*/ */
} }
else else
pg_fatal("could not stat file \"%s\": %s", pg_fatal("could not stat file \"%s\": %s\n",
fullpath, strerror(errno)); fullpath, strerror(errno));
} }
......
...@@ -71,7 +71,7 @@ extractPageMap(const char *datadir, XLogRecPtr startpoint, TimeLineID tli, ...@@ -71,7 +71,7 @@ extractPageMap(const char *datadir, XLogRecPtr startpoint, TimeLineID tli,
private.tli = tli; private.tli = tli;
xlogreader = XLogReaderAllocate(&SimpleXLogPageRead, &private); xlogreader = XLogReaderAllocate(&SimpleXLogPageRead, &private);
if (xlogreader == NULL) if (xlogreader == NULL)
pg_fatal("out of memory"); pg_fatal("out of memory\n");
do do
{ {
...@@ -124,7 +124,7 @@ readOneRecord(const char *datadir, XLogRecPtr ptr, TimeLineID tli) ...@@ -124,7 +124,7 @@ readOneRecord(const char *datadir, XLogRecPtr ptr, TimeLineID tli)
private.tli = tli; private.tli = tli;
xlogreader = XLogReaderAllocate(&SimpleXLogPageRead, &private); xlogreader = XLogReaderAllocate(&SimpleXLogPageRead, &private);
if (xlogreader == NULL) if (xlogreader == NULL)
pg_fatal("out of memory"); pg_fatal("out of memory\n");
record = XLogReadRecord(xlogreader, ptr, &errormsg); record = XLogReadRecord(xlogreader, ptr, &errormsg);
if (record == NULL) if (record == NULL)
...@@ -176,7 +176,7 @@ findLastCheckpoint(const char *datadir, XLogRecPtr forkptr, TimeLineID tli, ...@@ -176,7 +176,7 @@ findLastCheckpoint(const char *datadir, XLogRecPtr forkptr, TimeLineID tli,
private.tli = tli; private.tli = tli;
xlogreader = XLogReaderAllocate(&SimpleXLogPageRead, &private); xlogreader = XLogReaderAllocate(&SimpleXLogPageRead, &private);
if (xlogreader == NULL) if (xlogreader == NULL)
pg_fatal("out of memory"); pg_fatal("out of memory\n");
searchptr = forkptr; searchptr = forkptr;
for (;;) for (;;)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment