summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/libpq-int.h
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2007-07-23 18:13:02 +0000
committerMagnus Hagander <magnus@hagander.net>2007-07-23 18:13:02 +0000
commitb25d3e4db09dd61fc3753853d2de49bf98ceaea2 (patch)
tree45109a639494f62d9c9d9f870404e6537c30bbde /src/interfaces/libpq/libpq-int.h
parent987b0664fbab1e7b5e88484ed3b8b200d2a27cd1 (diff)
The correct min buffer size is
INITIAL_EXPBUFFER_SIZE, not PQERRORMSG_LENGTH. Backpatch only, the proper fix in HEAD is to use PQExpBuffers everywhere.
Diffstat (limited to 'src/interfaces/libpq/libpq-int.h')
-rw-r--r--src/interfaces/libpq/libpq-int.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h
index 19fc1dd5303..0cb3b1ed6c9 100644
--- a/src/interfaces/libpq/libpq-int.h
+++ b/src/interfaces/libpq/libpq-int.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.108.2.2 2006/05/21 20:19:44 tgl Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.108.2.3 2007/07/23 18:13:02 mha Exp $
*
*-------------------------------------------------------------------------
*/
@@ -57,7 +57,6 @@ typedef int ssize_t; /* ssize_t doesn't exist in VC (at least not
/*
* POSTGRES backend dependent Constants.
*/
-#define PQERRORMSG_LENGTH 1024
#define CMDSTATUS_LEN 40
/*