summaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/streamutil.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-05-05 10:51:38 -0400
committerPeter Eisentraut <peter_e@gmx.net>2018-05-05 10:51:38 -0400
commit2f52518773bb01384ef20831fd9d8c76dbd59dc5 (patch)
tree0a32572aff4a8ed32ee3c5db6b8028c8e6c38dea /src/bin/pg_basebackup/streamutil.c
parent488ccfe40a865e3f3c6343e2de026c37ba5a7d50 (diff)
Remove extra newlines after PQerrorMessage()
Diffstat (limited to 'src/bin/pg_basebackup/streamutil.c')
-rw-r--r--src/bin/pg_basebackup/streamutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_basebackup/streamutil.c b/src/bin/pg_basebackup/streamutil.c
index 3394537d854..f68019d5706 100644
--- a/src/bin/pg_basebackup/streamutil.c
+++ b/src/bin/pg_basebackup/streamutil.c
@@ -230,7 +230,7 @@ GetConnection(void)
res = PQexec(tmpconn, ALWAYS_SECURE_SEARCH_PATH_SQL);
if (PQresultStatus(res) != PGRES_TUPLES_OK)
{
- fprintf(stderr, _("%s: could not clear search_path: %s\n"),
+ fprintf(stderr, _("%s: could not clear search_path: %s"),
progname, PQerrorMessage(tmpconn));
PQclear(res);
PQfinish(tmpconn);
@@ -300,7 +300,7 @@ RetrieveWalSegSize(PGconn *conn)
res = PQexec(conn, "SHOW wal_segment_size");
if (PQresultStatus(res) != PGRES_TUPLES_OK)
{
- fprintf(stderr, _("%s: could not send replication command \"%s\": %s\n"),
+ fprintf(stderr, _("%s: could not send replication command \"%s\": %s"),
progname, "SHOW wal_segment_size", PQerrorMessage(conn));
PQclear(res);
@@ -372,7 +372,7 @@ RetrieveDataDirCreatePerm(PGconn *conn)
res = PQexec(conn, "SHOW data_directory_mode");
if (PQresultStatus(res) != PGRES_TUPLES_OK)
{
- fprintf(stderr, _("%s: could not send replication command \"%s\": %s\n"),
+ fprintf(stderr, _("%s: could not send replication command \"%s\": %s"),
progname, "SHOW data_directory_mode", PQerrorMessage(conn));
PQclear(res);