| From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add WL_SOCKET_ACCEPT event to WaitEventSet API. |
| Date: | 2022-12-23 07:41:16 |
| Message-ID: | E1p8cg7-0050Je-Gz@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Add WL_SOCKET_ACCEPT event to WaitEventSet API.
To be able to handle incoming connections on a server socket with
the WaitEventSet API, we'll need a new kind of event to indicate that
the the socket is ready to accept a connection.
On Unix, it's just the same as WL_SOCKET_READABLE, but on Windows there
is a different underlying kernel event that we need to map our
abstraction to.
No user yet, but a proposed patch would use this.
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/CA%2BhUKG%2BZ-HpOj1JsO9eWUP%2Bar7npSVinsC_npxSy%2BjdOMsx%3DGg%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/30829e52ff1a026c0b6ad042e7e5f39ff6abf9bb
Modified Files
--------------
src/backend/storage/ipc/latch.c | 13 ++++++++++++-
src/include/storage/latch.h | 7 +++++++
2 files changed, 19 insertions(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2022-12-23 11:59:03 | pgsql: Fix bug in translate_col_privs_multilevel |
| Previous Message | Michael Paquier | 2022-12-23 02:37:21 | pgsql: Update upgrade_adapt.sql to handle tables using aclitem as data |