Hi, On 2022-02-17 19:41:40 -0800, Andres Freund wrote: > At this point the psql "walsender" is *not* terminated, because the fatal > message is waiting behind all the WAL data sent. Which also means that the > slot isn't yet released.
Isn't it pretty bonkers that we allow error processing to get stuck behind network traffic, *before* we have have released resources (locks etc)? I wonder if we should try to send, but do it in a nonblocking way. Greetings, Andres Freund