diff options
Diffstat (limited to 'src/interfaces/libpq/libpq-int.h')
| -rw-r--r-- | src/interfaces/libpq/libpq-int.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h index aee2fce13ca..2ee819ff1e6 100644 --- a/src/interfaces/libpq/libpq-int.h +++ b/src/interfaces/libpq/libpq-int.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: libpq-int.h,v 1.52 2002/07/20 05:43:31 momjian Exp $ + * $Id: libpq-int.h,v 1.53 2002/08/17 12:33:18 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -286,6 +286,8 @@ struct pg_conn PQExpBufferData workBuffer; /* expansible string */ int client_encoding; /* encoding id */ + + char *connect_timeout; }; /* String descriptions of the ExecStatusTypes. @@ -332,6 +334,7 @@ extern int pqReadData(PGconn *conn); extern int pqFlush(PGconn *conn); extern int pqSendSome(PGconn *conn); extern int pqWait(int forRead, int forWrite, PGconn *conn); +extern int pqWaitTimed(int forRead, int forWrite, PGconn *conn, const struct timeval* timeout); extern int pqReadReady(PGconn *conn); extern int pqWriteReady(PGconn *conn); |
