summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2022-11-13 21:09:09 +0100
committerPeter Eisentraut <peter@eisentraut.org>2022-11-13 21:09:09 +0100
commit45d5ecab49f6c0df607d3ca2ce1995229f416d1a (patch)
tree84dbef943c230f0982cb6fcba638c26d0704e46e /src/interfaces/libpq
parent062e133f6d579f50e6e90642defca725d47add1d (diff)
downloadpostgresql-45d5ecab49f6c0df607d3ca2ce1995229f416d1a.tar.gz
libpq: Add missing newlines to error messages
Diffstat (limited to 'src/interfaces/libpq')
-rw-r--r--src/interfaces/libpq/fe-protocol3.c10
1 files 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);
}
}