| From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
|---|---|
| To: | "tsunakawa(dot)takay(at)fujitsu(dot)com" <tsunakawa(dot)takay(at)fujitsu(dot)com> |
| Cc: | Maksim Milyutin <milyutinma(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andres Freund <andres(at)anarazel(dot)de>, Zhihong Yu <zyu(at)yugabyte(dot)com> |
| Subject: | Re: Add client connection check during the execution of the query |
| Date: | 2021-06-12 04:24:01 |
| Message-ID: | CA+hUKGLYmBkROj=tUdXNeymxSdpBtfb=L5VcQKqUiZdvk2cBgg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, Apr 30, 2021 at 2:23 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> Here's something I wanted to park here to look into for the next
> cycle: it turns out that kqueue's EV_EOF flag also has the right
> semantics for this. That leads to the idea of exposing the event via
> the WaitEventSet API, and would the bring
> client_connection_check_interval feature to 6/10 of our OSes, up from
> 2/10. Maybe Windows' FD_CLOSE event could get us up to 7/10, not
> sure.
Rebased. Added documentation tweak and a check to reject the GUC on
unsupported OSes.
| Attachment | Content-Type | Size |
|---|---|---|
| v2-0001-Add-WL_SOCKET_CLOSED-for-socket-shutdown-events.patch | text/x-patch | 7.7 KB |
| v2-0002-Use-WL_SOCKET_CLOSED-for-client_connection_check_.patch | text/x-patch | 4.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Noah Misch | 2021-06-12 04:37:50 | Re: A new function to wait for the backend exit after termination |
| Previous Message | Tom Lane | 2021-06-12 03:51:35 | Re: pg_filenode_relation(0,0) elog |