Skip to content

Commit 45d5eca

Browse files
committed
libpq: Add missing newlines to error messages
1 parent 062e133 commit 45d5eca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/interfaces/libpq/fe-protocol3.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ pqParseInput3(PGconn *conn)
202202
if (!conn->result)
203203
{
204204
appendPQExpBufferStr(&conn->errorMessage,
205-
libpq_gettext("out of memory"));
205+
libpq_gettext("out of memory\n"));
206206
pqSaveErrorResult(conn);
207207
}
208208
}
@@ -227,7 +227,7 @@ pqParseInput3(PGconn *conn)
227227
if (!conn->result)
228228
{
229229
appendPQExpBufferStr(&conn->errorMessage,
230-
libpq_gettext("out of memory"));
230+
libpq_gettext("out of memory\n"));
231231
pqSaveErrorResult(conn);
232232
}
233233
else
@@ -256,7 +256,7 @@ pqParseInput3(PGconn *conn)
256256
if (!conn->result)
257257
{
258258
appendPQExpBufferStr(&conn->errorMessage,
259-
libpq_gettext("out of memory"));
259+
libpq_gettext("out of memory\n"));
260260
pqSaveErrorResult(conn);
261261
}
262262
}
@@ -274,7 +274,7 @@ pqParseInput3(PGconn *conn)
274274
if (!conn->result)
275275
{
276276
appendPQExpBufferStr(&conn->errorMessage,
277-
libpq_gettext("out of memory"));
277+
libpq_gettext("out of memory\n"));
278278
pqSaveErrorResult(conn);
279279
}
280280
}
@@ -355,7 +355,7 @@ pqParseInput3(PGconn *conn)
355355
if (!conn->result)
356356
{
357357
appendPQExpBufferStr(&conn->errorMessage,
358-
libpq_gettext("out of memory"));
358+
libpq_gettext("out of memory\n"));
359359
pqSaveErrorResult(conn);
360360
}
361361
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy