diff options
| author | Peter Eisentraut | 2016-11-30 17:00:00 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2016-12-02 01:23:28 +0000 |
| commit | 597a87ccc9a6fa8af7f3cf280b1e24e41807d555 (patch) | |
| tree | f869e194ae83b03b7174ea6c8a26565265bc893e /src/include/pgstat.h | |
| parent | b999c247a5df4110a2ae20b01f0f686840169875 (diff) | |
Use latch instead of select() in walreceiver
Replace use of poll()/select() by WaitLatchOrSocket(), which is more
portable and flexible.
Also change walreceiver to use its procLatch instead of a custom latch.
From: Petr Jelinek <petr@2ndquadrant.com>
Diffstat (limited to 'src/include/pgstat.h')
| -rw-r--r-- | src/include/pgstat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h index 0b85b7ad3a..152ff06208 100644 --- a/src/include/pgstat.h +++ b/src/include/pgstat.h @@ -763,6 +763,7 @@ typedef enum WAIT_EVENT_CLIENT_WRITE, WAIT_EVENT_SSL_OPEN_SERVER, WAIT_EVENT_WAL_RECEIVER_WAIT_START, + WAIT_EVENT_LIBPQWALRECEIVER_READ, WAIT_EVENT_WAL_SENDER_WAIT_WAL, WAIT_EVENT_WAL_SENDER_WRITE_DATA } WaitEventClient; |
