libpq: Add missing newlines to error messages

This commit is contained in:
Peter Eisentraut 2022-11-13 21:09:09 +01:00
parent 062e133f6d
commit 45d5ecab49
1 changed files with 5 additions and 5 deletions

View File

@ -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);
}
}