mirror of
https://github.com/postgres/postgres.git
synced 2026-02-24 02:11:28 -05:00
Remove extra newlines after PQerrorMessage()
This commit is contained in:
parent
c06380e976
commit
280cf0fe78
2 changed files with 2 additions and 2 deletions
|
|
@ -219,7 +219,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);
|
||||
|
|
|
|||
|
|
@ -1919,7 +1919,7 @@ connectDatabase(const char *dbname, const char *connection_string,
|
|||
if (fail_on_error)
|
||||
{
|
||||
fprintf(stderr,
|
||||
_("%s: could not connect to database \"%s\": %s\n"),
|
||||
_("%s: could not connect to database \"%s\": %s"),
|
||||
progname, dbname, PQerrorMessage(conn));
|
||||
exit_nicely(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue