diff options
| author | Peter Eisentraut | 2017-03-03 14:07:22 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2017-03-03 14:13:58 +0000 |
| commit | 1e8a850094478a2036891fa3d4ce769bce411ee3 (patch) | |
| tree | ebbf65f27777bca45982c51bfdfb22dcc57a6e0f /src/include | |
| parent | 9eb344faf54a849898d9be012ddfa8204cfeb57c (diff) | |
Use asynchronous connect API in libpqwalreceiver
This makes the connection attempt from CREATE SUBSCRIPTION and from
WalReceiver interruptable by the user in case the libpq connection is
hanging. The previous coding required immediate shutdown (SIGQUIT) of
PostgreSQL in that situation.
From: Petr Jelinek <petr.jelinek@2ndquadrant.com>
Tested-by: Thom Brown <thom@linux.com>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/pgstat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h index 8b710ecb24e..0062fb8af24 100644 --- a/src/include/pgstat.h +++ b/src/include/pgstat.h @@ -764,7 +764,7 @@ typedef enum WAIT_EVENT_CLIENT_WRITE, WAIT_EVENT_SSL_OPEN_SERVER, WAIT_EVENT_WAL_RECEIVER_WAIT_START, - WAIT_EVENT_LIBPQWALRECEIVER_READ, + WAIT_EVENT_LIBPQWALRECEIVER, WAIT_EVENT_WAL_SENDER_WAIT_WAL, WAIT_EVENT_WAL_SENDER_WRITE_DATA } WaitEventClient; |
