summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane2004-09-26 00:26:56 +0000
committerTom Lane2004-09-26 00:26:56 +0000
commitc86cc37f62548d5f88d4657a1094b259a38c471d (patch)
tree88b9e31e50fa3a55973d22534f465bc843d42f26 /src/include
parent14946a80c0fd224326367d33f9fe7e086b447005 (diff)
Repair bug that would allow libpq to think a command had succeeded when
it really hadn't, due to double output of previous command's response. Fix prevents recursive entry to libpq routines. Found by Jan Wieck.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/libpq/libpq.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/libpq/libpq.h b/src/include/libpq/libpq.h
index 4bd7f40a583..d50f6ca14c9 100644
--- a/src/include/libpq/libpq.h
+++ b/src/include/libpq/libpq.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: libpq.h,v 1.60 2003/08/04 02:40:13 momjian Exp $
+ * $Id: libpq.h,v 1.60.4.1 2004/09/26 00:26:56 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -52,6 +52,7 @@ extern int StreamConnection(int server_fd, Port *port);
extern void StreamClose(int sock);
extern void TouchSocketFile(void);
extern void pq_init(void);
+extern void pq_comm_reset(void);
extern int pq_getbytes(char *s, size_t len);
extern int pq_getstring(StringInfo s);
extern int pq_getmessage(StringInfo s, int maxlen);