pgsql: On Windows, close the client socket explicitly during backend sh

2021-12-02 Thread Tom Lane
On Windows, close the client socket explicitly during backend shutdown. It turns out that this is necessary to keep Winsock from dropping any not-yet-sent data, such as an error message explaining the reason for process termination. It's pretty weird that the implicit close done by the kernel act

pgsql: On Windows, close the client socket explicitly during backend sh

2021-12-02 Thread Tom Lane
On Windows, close the client socket explicitly during backend shutdown. It turns out that this is necessary to keep Winsock from dropping any not-yet-sent data, such as an error message explaining the reason for process termination. It's pretty weird that the implicit close done by the kernel act

pgsql: On Windows, close the client socket explicitly during backend sh

2021-12-02 Thread Tom Lane
On Windows, close the client socket explicitly during backend shutdown. It turns out that this is necessary to keep Winsock from dropping any not-yet-sent data, such as an error message explaining the reason for process termination. It's pretty weird that the implicit close done by the kernel act

pgsql: On Windows, close the client socket explicitly during backend sh

2021-12-02 Thread Tom Lane
On Windows, close the client socket explicitly during backend shutdown. It turns out that this is necessary to keep Winsock from dropping any not-yet-sent data, such as an error message explaining the reason for process termination. It's pretty weird that the implicit close done by the kernel act

pgsql: On Windows, close the client socket explicitly during backend sh

2021-12-02 Thread Tom Lane
On Windows, close the client socket explicitly during backend shutdown. It turns out that this is necessary to keep Winsock from dropping any not-yet-sent data, such as an error message explaining the reason for process termination. It's pretty weird that the implicit close done by the kernel act

pgsql: On Windows, close the client socket explicitly during backend sh

2021-12-02 Thread Tom Lane
On Windows, close the client socket explicitly during backend shutdown. It turns out that this is necessary to keep Winsock from dropping any not-yet-sent data, such as an error message explaining the reason for process termination. It's pretty weird that the implicit close done by the kernel act