Re: Disconnect if socket cannot be put into non-blocking mode

2024-03-12 Thread Daniel Gustafsson
> On 12 Mar 2024, at 09:49, Heikki Linnakangas wrote: >> Barring objections, I'll commit and backpatch the attached to fix that. > > Committed. Sorry for being slow to review, but +1 on this change. -- Daniel Gustafsson

Re: Disconnect if socket cannot be put into non-blocking mode

2024-03-12 Thread Heikki Linnakangas
On 11/03/2024 16:44, Heikki Linnakangas wrote: While self-reviewing my "Refactoring backend fork+exec code" patches, I noticed this in pq_init(): /* * In backends (as soon as forked) we operate the underlying socket in * nonblocking mode and use latches to implement bl

Disconnect if socket cannot be put into non-blocking mode

2024-03-11 Thread Heikki Linnakangas
x that. -- Heikki Linnakangas Neon (https://neon.tech)From fc737586783a05672ff8eb96e245dfdeeadcd506 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 11 Mar 2024 16:36:37 +0200 Subject: [PATCH 1/1] Disconnect if socket cannot be put into non-blocking mode Commit 387da18874 mo