summaryrefslogtreecommitdiff
path: root/src/backend/libpq/pqformat.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-10-23 03:13:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-10-23 03:13:33 +0000
commitecd0bfa81a8290219f4973b8fd456a2ffeb11d40 (patch)
tree734cc8342c23bc8b1643ee1859003943015e7c03 /src/backend/libpq/pqformat.c
parent627b5e9c20d91cfdd5e6fd672ec997c8fbb3a2a2 (diff)
Look Ma, no MAX_PARSE_BUFFER! (At least not in the backend.
pg_dump and interfaces/odbc still need some work.)
Diffstat (limited to 'src/backend/libpq/pqformat.c')
-rw-r--r--src/backend/libpq/pqformat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/libpq/pqformat.c b/src/backend/libpq/pqformat.c
index 098c41dc525..28f6d48db35 100644
--- a/src/backend/libpq/pqformat.c
+++ b/src/backend/libpq/pqformat.c
@@ -15,7 +15,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pqformat.c,v 1.10 1999/09/12 22:27:47 scrappy Exp $
+ * $Id: pqformat.c,v 1.11 1999/10/23 03:13:22 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -213,7 +213,7 @@ pq_endmessage(StringInfo buf)
{
if (pq_putmessage('\0', buf->data, buf->len))
{
- snprintf(PQerrormsg, ERROR_MSG_LENGTH,
+ snprintf(PQerrormsg, PQERRORMSG_LENGTH,
"FATAL: pq_endmessage failed: errno=%d\n", errno);
fputs(PQerrormsg, stderr);
pqdebug("%s", PQerrormsg);