mirror of
https://github.com/postgres/postgres.git
synced 2025-09-09 13:09:39 +03:00
libpq: Add missing newlines to error messages
This commit is contained in:
@@ -202,7 +202,7 @@ pqParseInput3(PGconn *conn)
|
|||||||
if (!conn->result)
|
if (!conn->result)
|
||||||
{
|
{
|
||||||
appendPQExpBufferStr(&conn->errorMessage,
|
appendPQExpBufferStr(&conn->errorMessage,
|
||||||
libpq_gettext("out of memory"));
|
libpq_gettext("out of memory\n"));
|
||||||
pqSaveErrorResult(conn);
|
pqSaveErrorResult(conn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -227,7 +227,7 @@ pqParseInput3(PGconn *conn)
|
|||||||
if (!conn->result)
|
if (!conn->result)
|
||||||
{
|
{
|
||||||
appendPQExpBufferStr(&conn->errorMessage,
|
appendPQExpBufferStr(&conn->errorMessage,
|
||||||
libpq_gettext("out of memory"));
|
libpq_gettext("out of memory\n"));
|
||||||
pqSaveErrorResult(conn);
|
pqSaveErrorResult(conn);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -256,7 +256,7 @@ pqParseInput3(PGconn *conn)
|
|||||||
if (!conn->result)
|
if (!conn->result)
|
||||||
{
|
{
|
||||||
appendPQExpBufferStr(&conn->errorMessage,
|
appendPQExpBufferStr(&conn->errorMessage,
|
||||||
libpq_gettext("out of memory"));
|
libpq_gettext("out of memory\n"));
|
||||||
pqSaveErrorResult(conn);
|
pqSaveErrorResult(conn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -274,7 +274,7 @@ pqParseInput3(PGconn *conn)
|
|||||||
if (!conn->result)
|
if (!conn->result)
|
||||||
{
|
{
|
||||||
appendPQExpBufferStr(&conn->errorMessage,
|
appendPQExpBufferStr(&conn->errorMessage,
|
||||||
libpq_gettext("out of memory"));
|
libpq_gettext("out of memory\n"));
|
||||||
pqSaveErrorResult(conn);
|
pqSaveErrorResult(conn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -355,7 +355,7 @@ pqParseInput3(PGconn *conn)
|
|||||||
if (!conn->result)
|
if (!conn->result)
|
||||||
{
|
{
|
||||||
appendPQExpBufferStr(&conn->errorMessage,
|
appendPQExpBufferStr(&conn->errorMessage,
|
||||||
libpq_gettext("out of memory"));
|
libpq_gettext("out of memory\n"));
|
||||||
pqSaveErrorResult(conn);
|
pqSaveErrorResult(conn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user