]> granicus.if.org Git - postgresql/commitdiff
pg_dump: Fix newline in error message
authorPeter Eisentraut <peter@eisentraut.org>
Sat, 4 May 2019 14:54:30 +0000 (16:54 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Sat, 4 May 2019 14:56:15 +0000 (16:56 +0200)
The newline was incorrectly dropped in
5a191f697400560fa8f2cc11817072bf9055de73.

src/bin/pg_dump/pg_dump.c

index 91e6f9407275c3a5aae39b96f7cc5ece32165d4c..5e28556c62488602f96fd5056360c1ceb4683e22 100644 (file)
@@ -15276,7 +15276,7 @@ dumpTableSchema(Archive *fout, TableInfo *tbinfo)
                {
                        /* With partitions there can only be one parent */
                        if (tbinfo->numParents != 1)
-                               exit_horribly(NULL, "invalid number of parents %d for table \"%s\"",
+                               exit_horribly(NULL, "invalid number of parents %d for table \"%s\"\n",
                                          tbinfo->numParents, tbinfo->dobj.name);
 
                        /* Perform ALTER TABLE on the parent */