Hello. 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.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных