]> git.ipfire.org Git - thirdparty/postgresql.git/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:54:30 +0000 (16:54 +0200)
The newline was incorrectly dropped in
a98c48debcd0620ab07608d53ee08fdb0e7a1edb.

src/bin/pg_dump/pg_dump.c

index 3ab79d5254c78c08c95e400bb0b1725b63ce9e55..e6a116cefffcf59850e8916bd25e94d42e99b2ca 100644 (file)
@@ -15874,7 +15874,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 */