From: Peter Eisentraut Date: Sun, 13 Nov 2022 20:09:09 +0000 (+0100) Subject: libpq: Add missing newlines to error messages X-Git-Tag: REL_16_BETA1~1336 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=45d5ecab49f6c0df607d3ca2ce1995229f416d1a;p=thirdparty%2Fpostgresql.git libpq: Add missing newlines to error messages --- diff --git a/src/interfaces/libpq/fe-protocol3.c b/src/interfaces/libpq/fe-protocol3.c index f001137b769..f5664e0f831 100644 --- a/src/interfaces/libpq/fe-protocol3.c +++ b/src/interfaces/libpq/fe-protocol3.c @@ -202,7 +202,7 @@ pqParseInput3(PGconn *conn) if (!conn->result) { appendPQExpBufferStr(&conn->errorMessage, - libpq_gettext("out of memory")); + libpq_gettext("out of memory\n")); pqSaveErrorResult(conn); } } @@ -227,7 +227,7 @@ pqParseInput3(PGconn *conn) if (!conn->result) { appendPQExpBufferStr(&conn->errorMessage, - libpq_gettext("out of memory")); + libpq_gettext("out of memory\n")); pqSaveErrorResult(conn); } else @@ -256,7 +256,7 @@ pqParseInput3(PGconn *conn) if (!conn->result) { appendPQExpBufferStr(&conn->errorMessage, - libpq_gettext("out of memory")); + libpq_gettext("out of memory\n")); pqSaveErrorResult(conn); } } @@ -274,7 +274,7 @@ pqParseInput3(PGconn *conn) if (!conn->result) { appendPQExpBufferStr(&conn->errorMessage, - libpq_gettext("out of memory")); + libpq_gettext("out of memory\n")); pqSaveErrorResult(conn); } } @@ -355,7 +355,7 @@ pqParseInput3(PGconn *conn) if (!conn->result) { appendPQExpBufferStr(&conn->errorMessage, - libpq_gettext("out of memory")); + libpq_gettext("out of memory\n")); pqSaveErrorResult(conn); } }