pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexander Lakhin <exclusion@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16678: The ecpg connect/test5 test sometimes fails on Windows
Date: Sat, 24 Oct 2020 17:07:23 -0400
Message-ID: <392145.1603573643@sss.pgh.pa.us> (raw)
In-Reply-To: <c550c1b0-45e2-9f71-1472-f3f22bbc702a@gmail.com>
References: <16678-253e48d34dc0c376@postgresql.org>
	<434311.1603135136@sss.pgh.pa.us>
	<f558fb39-ce9e-a516-d7c3-fc94fb581711@gmail.com>
	<383222.1603561145@sss.pgh.pa.us>
	<c550c1b0-45e2-9f71-1472-f3f22bbc702a@gmail.com>

Alexander Lakhin <exclusion@gmail.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-c...
> 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





view thread (8+ messages)  latest in thread

Message-ID: <392145.1603573643@sss.pgh.pa.us>
Permalink:  ../392145.1603573643@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/392145.1603573643@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16678: The ecpg connect/test5 test sometimes fails on Windows
  In-Reply-To: <392145.1603573643@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox