Thank you for the suggestion, I've done it. At Wed, 15 Jun 2016 12:15:07 -0400, Robert Haas <robertmh...@gmail.com> wrote in <CA+TgmoadQzVLG3ONw=fcgocqxxdwp7_9agqd43s7z+hqj56...@mail.gmail.com> > On Thu, Jun 2, 2016 at 4:51 AM, Kyotaro HORIGUCHI > <horiguchi.kyot...@lab.ntt.co.jp> wrote: > > After a process termination without PQfinish() of a client, > > server emits the following log message not seen on Linux boxes. > > > >> LOG: could not receive data from client: An existing connection was > >> forcibly closed by the remote host. > > > > This is because pgwin32_recv reuturns an error ECONNRESET for the > > situation instead of returning non-error EOF as recv(2) does. > > > > This patch translates WSAECONNRESET of WSARecv to an EOF so that > > pgwin32_recv behaves the same way with Linux. > > > > The attached patch does this. > > Please add this to the next CommitFest so it gets reviewed.
-- Kyotaro Horiguchi NTT Open Source Software Center -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers