]> git.ipfire.org Git - thirdparty/postgresql.git/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:03:10 +0000 (13:03 +0100)
src/bin/pg_rewind/pg_rewind.c

index b0fd3f66ace41ffa1fbd4727128a2123a6bee2c7..897365f92881df88cf4e6832580d1e4fb9a96e42 100644 (file)
@@ -479,7 +479,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);