Skip to content

Commit 0ebb3a4

Browse files
committed
Remove extra newlines after PQerrorMessage()
1 parent ca572db commit 0ebb3a4

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
@@ -219,7 +219,7 @@ GetConnection(void)
219219
res = PQexec(tmpconn, ALWAYS_SECURE_SEARCH_PATH_SQL);
220220
if (PQresultStatus(res) != PGRES_TUPLES_OK)
221221
{
222-
fprintf(stderr, _("%s: could not clear search_path: %s\n"),
222+
fprintf(stderr, _("%s: could not clear search_path: %s"),
223223
progname, PQerrorMessage(tmpconn));
224224
PQclear(res);
225225
PQfinish(tmpconn);

src/bin/pg_dump/pg_dumpall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ connectDatabase(const char *dbname, const char *connection_string,
20172017
if (fail_on_error)
20182018
{
20192019
fprintf(stderr,
2020-
_("%s: could not connect to database \"%s\": %s\n"),
2020+
_("%s: could not connect to database \"%s\": %s"),
20212021
progname, dbname, PQerrorMessage(conn));
20222022
exit_nicely(1);
20232023
}

0 commit comments

Comments
 (0)