m6w6 / ext-pq

PostgreSQL client library (libpq) binding
BSD 2-Clause "Simplified" License
39 stars 7 forks source link

Missing status #37

Closed remicollet closed 4 years ago

remicollet commented 4 years ago

In PostgreSQL 12.3

    CONNECTION_NEEDED,          /* Internal state: connect() needed */
    CONNECTION_CHECK_WRITABLE,  /* Check if we could make a writable connection. */
    CONNECTION_CONSUME,         /* Wait for any pending message and consume them. */
    CONNECTION_GSS_STARTUP      /* Negotiating GSSAPI. */

These are missing. Notice: as CONNECTION_GSS_STARTUP is 11 this may breaks 2 tests (async001 and async002)

- 2(,\d)*,0
+ 2(,\d+)*,0
m6w6 commented 4 years ago

Thanks, fixed in 7faa9186d9c15c80f012cf37cf30cad16198b850