Re: BUG #16678: The ecpg connect/test5 test sometimes fails on Windows

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16678: The ecpg connect/test5 test sometimes fails on Windows
Date: 2020-10-24 21:07:23
Message-ID: 392145.1603573643@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Alexander Lakhin <exclusion(at)gmail(dot)com> writes:
> But I'm inclined to stay on the previous level with "shutdown &&
> closesocket" as recommended for server side:
> https://docs.microsoft.com/en-us/windows/win32/winsock/graceful-shutdown-linger-options-and-socket-closure-2
> Please look at the draft patch.

If that actually fixes things, I'm okay with it --- do you find
that it prevents the test failure even with client-side delays?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alexander Lakhin 2020-10-25 05:00:00 Re: BUG #16678: The ecpg connect/test5 test sometimes fails on Windows
Previous Message Alexander Lakhin 2020-10-24 21:00:00 Re: BUG #16678: The ecpg connect/test5 test sometimes fails on Windows