summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2024-04-04 19:55:53 +0000
committerRobert Haas2024-04-04 20:22:11 +0000
commite57fe3824ee7a9cb551ca1cae5aa0394216ef7b8 (patch)
treee433071e3524f47727fd8f03b054671c73fb64f2
parent12b964d7815b2f45fa3fc37264d3d1cb8e4562e3 (diff)
Fix old, misleading comment for PGRES_POLLING_ACTIVE.
The comment implies that we can eventually remove this, but per discussion, we actually don't want to do that ever, in order to maintain compatibility. Jelte Fennema-Nio, reviewed by Tristan Partin Discussion: http://postgr.es/m/CAGECzQTO72jKed5461W8cytV2Msh_e+WUZjOyX_RUQCbjk4LRA@mail.gmail.com
-rw-r--r--src/interfaces/libpq/libpq-fe.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interfaces/libpq/libpq-fe.h b/src/interfaces/libpq/libpq-fe.h
index 8d3c5c6f66..c184e85388 100644
--- a/src/interfaces/libpq/libpq-fe.h
+++ b/src/interfaces/libpq/libpq-fe.h
@@ -91,8 +91,7 @@ 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 /* unused; keep for awhile for backwards
- * compatibility */
+ PGRES_POLLING_ACTIVE /* unused; keep for backwards compatibility */
} PostgresPollingStatusType;
typedef enum