aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/logical/decode.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-12-07 13:34:06 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2021-12-07 13:34:15 -0500
commitea5ecdadf6eacdc1ef5c67648ebaed2efcb0d07a (patch)
tree402a1e5dfc85ecb61921b87be65787c27d357c60 /src/backend/replication/logical/decode.c
parentb6360aa46ce966f77fba290637f51f5bb2de12a9 (diff)
downloadpostgresql-ea5ecdadf6eacdc1ef5c67648ebaed2efcb0d07a.tar.gz
postgresql-ea5ecdadf6eacdc1ef5c67648ebaed2efcb0d07a.zip
On Windows, also call shutdown() while closing the client socket.
Further experimentation shows that commit 6051857fc is not sufficient when using (some versions of?) OpenSSL. The reason is obscure, but calling shutdown(socket, SD_SEND) improves matters. Per testing by Andrew Dunstan and Alexander Lakhin. Back-patch as before. Discussion: https://postgr.es/m/af5e0bf3-6a61-bb97-6cba-061ddf22ff6b@dunslane.net
Diffstat (limited to 'src/backend/replication/logical/decode.c')
0 files changed, 0 insertions, 0 deletions