diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2019-07-02 23:18:43 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2019-07-02 23:18:43 +0100 |
commit | 24c7000f64487323fedb52b8aeadf2c84274dcf5 (patch) | |
tree | e2559b860aa022dcc5c92ef778f273220c7ad2c1 /src/bin/pg_dump | |
parent | b4771d7c7f37d19e2879b18e288f681849d55806 (diff) | |
download | postgresql-24c7000f64487323fedb52b8aeadf2c84274dcf5.tar.gz postgresql-24c7000f64487323fedb52b8aeadf2c84274dcf5.zip |
Remove redundant newlines from error messages
These are no longer needed/allowed with the new logging API.
Diffstat (limited to 'src/bin/pg_dump')
-rw-r--r-- | src/bin/pg_dump/pg_backup_tar.c | 2 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_backup_tar.c b/src/bin/pg_dump/pg_backup_tar.c index 972318904b3..0e547e83be8 100644 --- a/src/bin/pg_dump/pg_backup_tar.c +++ b/src/bin/pg_dump/pg_backup_tar.c @@ -568,7 +568,7 @@ _tarReadRaw(ArchiveHandle *AH, void *buf, size_t len, TAR_MEMBER *th, FILE *fh) } } else - fatal("internal error -- neither th nor fh specified in tarReadRaw()\n"); + fatal("internal error -- neither th nor fh specified in tarReadRaw()"); } ctx->tarFHpos += res + used; diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index b07d58c4a8f..1cd25adb6cf 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -13484,7 +13484,7 @@ dumpCollation(Archive *fout, CollInfo *collinfo) /* to allow dumping pg_catalog; not accepted on input */ appendPQExpBufferStr(q, "default"); else - fatal("unrecognized collation provider: %s\n", + fatal("unrecognized collation provider: %s", collprovider); if (strcmp(PQgetvalue(res, 0, i_collisdeterministic), "f") == 0) |