From 45d5ecab49f6c0df607d3ca2ce1995229f416d1a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 13 Nov 2022 21:09:09 +0100 Subject: [PATCH] libpq: Add missing newlines to error messages --- src/interfaces/libpq/fe-protocol3.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/interfaces/libpq/fe-protocol3.c b/src/interfaces/libpq/fe-protocol3.c index f001137b76..f5664e0f83 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); } }