mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
libpq: Make target_session_attrs=read-write consume empty result.
Otherwise, the leftover empty result can cause problems in some situations. Michael Paquier and Ashutosh Bapat, per a report from Higuchi Daisuke
This commit is contained in:
@@ -63,8 +63,10 @@ typedef enum
|
||||
CONNECTION_SETENV, /* Negotiating environment. */
|
||||
CONNECTION_SSL_STARTUP, /* Negotiating SSL. */
|
||||
CONNECTION_NEEDED, /* Internal state: connect() needed */
|
||||
CONNECTION_CHECK_WRITABLE /* Check if we could make a writable
|
||||
CONNECTION_CHECK_WRITABLE, /* Check if we could make a writable
|
||||
* connection. */
|
||||
CONNECTION_CONSUME /* Wait for any pending message and
|
||||
* consume them. */
|
||||
} ConnStatusType;
|
||||
|
||||
typedef enum
|
||||
|
||||
Reference in New Issue
Block a user