Fix old, misleading comment for PGRES_POLLING_ACTIVE.
authorRobert Haas <rhaas@postgresql.org>
Thu, 4 Apr 2024 19:55:53 +0000 (15:55 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 4 Apr 2024 20:22:11 +0000 (16:22 -0400)
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

src/interfaces/libpq/libpq-fe.h

index 8d3c5c6f66211dc359f110534efa88079b59e951..c184e853889e78587b291ca8c2c930a59460d475 100644 (file)
@@ -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