summaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-12-02 17:14:43 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2021-12-02 17:15:14 -0500
commit00cd81723cd0363e5f87d1bdc69797087fdc8e94 (patch)
treec73c053620e805bdedb1cb148fe8f8943ecf4896 /src/tutorial/advanced.source
parent1924d508c33594541db287a065d394a781739b46 (diff)
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 acts differently from an explicit close, but it's hard to argue with experimental results. Independently submitted by Alexander Lakhin and Lars Kanis (comments by me, though). Back-patch to all supported branches. Discussion: https://postgr.es/m/90b34057-4176-7bb0-0dbb-9822a5f6425b@greiz-reinsdorf.de Discussion: https://postgr.es/m/16678-253e48d34dc0c376@postgresql.org
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions