postgres.git / summary / log / commit / refs
commit 45d5ecab49f6c0df607d3ca2ce1995229f416d1a
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Sun Nov 13 20:09:09 2022 +0000
First released in: 16.0
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 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);
}
}
[parent: 062e133f6d57]