diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-03-20 06:23:30 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-03-20 06:23:30 +0000 |
commit | 44aba280207740d0956160c0288e61f28f024a71 (patch) | |
tree | 882848fbd5957bd09964f4fe585f103a0ec359bf /src | |
parent | d7f10705b46a9c618b452e246d3d394e5a1a707f (diff) | |
download | postgresql-44aba280207740d0956160c0288e61f28f024a71.tar.gz postgresql-44aba280207740d0956160c0288e61f28f024a71.zip |
PGRES_POLLING_ACTIVE is unused, keep for backward compatibility.
Lennert Buytenhek
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 8 | ||||
-rw-r--r-- | src/interfaces/libpq/libpq-fe.h | 5 |
2 files changed, 4 insertions, 9 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index ac57659365d..78d0e20188e 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.227 2003/03/18 22:11:48 petere Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.228 2003/03/20 06:23:30 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -1206,9 +1206,6 @@ connectDBComplete(PGconn *conn) */ switch (flag) { - case PGRES_POLLING_ACTIVE: - break; - case PGRES_POLLING_OK: return 1; /* success! */ @@ -1926,9 +1923,6 @@ PQsetenv(PGconn *conn) */ switch (flag) { - case PGRES_POLLING_ACTIVE: - break; - case PGRES_POLLING_OK: return true; /* success! */ diff --git a/src/interfaces/libpq/libpq-fe.h b/src/interfaces/libpq/libpq-fe.h index f3be00ab620..8114d6e78ea 100644 --- a/src/interfaces/libpq/libpq-fe.h +++ b/src/interfaces/libpq/libpq-fe.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: libpq-fe.h,v 1.88 2003/03/10 22:28:22 tgl Exp $ + * $Id: libpq-fe.h,v 1.89 2003/03/20 06:23:30 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -65,7 +65,8 @@ typedef enum PGRES_POLLING_READING, /* These two indicate that one may */ PGRES_POLLING_WRITING, /* use select before polling again. */ PGRES_POLLING_OK, - PGRES_POLLING_ACTIVE /* Can call poll function immediately. */ + PGRES_POLLING_ACTIVE /* unused; keep for awhile for + * backwards compatibility */ } PostgresPollingStatusType; typedef enum |