]> granicus.if.org Git - postgresql/commitdiff
pg_rewind: Add missing newline to error message
authorPeter Eisentraut <peter@eisentraut.org>
Sat, 29 Dec 2018 12:02:51 +0000 (13:02 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Sat, 29 Dec 2018 12:02:51 +0000 (13:02 +0100)
src/bin/pg_rewind/pg_rewind.c

index 96531063869c63b060ccdda589fdfbab58cbbb73..55226d1dc027f4f546bbb538625f1feb91d4f5e7 100644 (file)
@@ -488,7 +488,7 @@ getTimelineHistory(ControlFileData *controlFile, int *nentries)
                else if (controlFile == &ControlFile_target)
                        histfile = slurpFile(datadir_target, path, NULL);
                else
-                       pg_fatal("invalid control file");
+                       pg_fatal("invalid control file\n");
 
                history = rewind_parseTimeLineHistory(histfile, tli, nentries);
                pg_free(histfile);