Added in PostgreSQL 14, only visible during connection, if at all.
.. autoclass:: ConnStatus
:members:
- Other possible status are only seen during the connection phase.
+ There are other values in this enum, but only `OK` and `BAD` are seen
+ after a connection has been established. Other statuses might only be seen
+ during the connection phase and are considered internal.
.. seealso:: :pq:`PQstatus()` returns this value.
- Don't raise exceptions on `ServerCursor.close()` if the connection is closed
(:ticket:`#173`).
- Fail on `Connection.cursor()` if the connection is closed (:ticket:`#174`).
+- Add `!CHECK_STANDBY` value to `~pq.ConnStatus` enum.
Current release
CONSUME = auto()
GSS_STARTUP = auto()
CHECK_TARGET = auto()
+ CHECK_STANDBY = auto()
class PollingStatus(IntEnum):