summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-08-07 10:44:16 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-08-07 10:44:16 +0000
commit50036e85b35eb8eaa3f25da836959a9dd986a2c6 (patch)
tree51d3f2f1dbb856b75db76855053f618de94760cc /src/include
parent2f4759d5ce5817ae179d7ce7b1ba0ef1678b3db5 (diff)
Add a check for end of client connection before expecting a password
response, to avoid noise in the server log.
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 4ab823e5463..9390219838e 100644
--- a/src/include/libpq/libpq.h
+++ b/src/include/libpq/libpq.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: libpq.h,v 1.44 2001/03/22 04:00:48 momjian Exp $
+ * $Id: libpq.h,v 1.45 2001/08/07 10:44:16 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -65,6 +65,7 @@ extern int pq_getstring(StringInfo s);
extern int pq_peekbyte(void);
extern int pq_putbytes(const char *s, size_t len);
extern int pq_flush(void);
+extern int pq_eof(void);
extern int pq_putmessage(char msgtype, const char *s, size_t len);
extern void pq_startcopyout(void);
extern void pq_endcopyout(bool errorAbort);