On Thu, Jun 4, 2020 at 6:22 PM Oleksandr Shulgin <oleksandr.shul...@zalando.de> wrote: > On Thu, Jun 4, 2020 at 5:37 AM Thomas Munro <thomas.mu...@gmail.com> wrote: >> Here's what I tested. First, I put this into pgdata/postgresql.conf:
> Would it be feasible to capture this in a sort of a regression (TAP?) test? If I'm remembering correctly, it wouldn't work on Windows. After you've had an error sending to a socket, you can't receive (even if there was something sent to you earlier). At least that's how it seemed from the experiments on that other thread. The other problem is that it requires inserting a sleep into the code...