Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7ff50cf

Browse files
committed
Remove extra newlines after PQerrorMessage()
1 parent 7b7521d commit 7ff50cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bin/pg_basebackup/streamutil.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ GetConnection(void)
222222
res = PQexec(tmpconn, ALWAYS_SECURE_SEARCH_PATH_SQL);
223223
if (PQresultStatus(res) != PGRES_TUPLES_OK)
224224
{
225-
fprintf(stderr, _("%s: could not clear search_path: %s\n"),
225+
fprintf(stderr, _("%s: could not clear search_path: %s"),
226226
progname, PQerrorMessage(tmpconn));
227227
PQclear(res);
228228
PQfinish(tmpconn);

src/bin/pg_dump/pg_dumpall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2028,7 +2028,7 @@ connectDatabase(const char *dbname, const char *connection_string,
20282028
if (fail_on_error)
20292029
{
20302030
fprintf(stderr,
2031-
_("%s: could not connect to database \"%s\": %s\n"),
2031+
_("%s: could not connect to database \"%s\": %s"),
20322032
progname, dbname, PQerrorMessage(conn));
20332033
exit_nicely(1);
20342034
}

0 commit comments

Comments
 (0)