postgresql/src/backend
Tom Lane a8a983e829 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
2021-12-07 13:34:19 -05:00
..
access Fix determination of broken LSN in OVERWRITTEN_CONTRECORD 2021-11-26 11:14:27 -03:00
bootstrap Skip WAL for new relfilenodes, under wal_level=minimal. 2020-04-04 12:25:34 -07:00
catalog Avoid leaking memory during large-scale REASSIGN OWNED BY operations. 2021-12-01 13:44:47 -05:00
commands Block ALTER TABLE .. DROP NOT NULL on columns in replica identity index 2021-11-25 15:05:28 +09:00
executor Fix variable lifespan in ExecInitCoerceToDomain(). 2021-11-02 13:36:57 -04:00
foreign Update copyrights for 2020 2020-01-01 12:21:45 -05:00
jit Avoid some other O(N^2) hazards in list manipulation. 2021-11-01 16:24:40 -04:00
lib Fix typo in comment 2021-04-20 14:36:41 +02:00
libpq On Windows, also call shutdown() while closing the client socket. 2021-12-07 13:34:19 -05:00
main Add PostgreSQL home page to --help output 2020-02-28 13:12:21 +01:00
nodes Avoid O(N^2) behavior in SyncPostCheckpoint(). 2021-11-02 11:31:54 -04:00
optimizer Avoid O(N^2) behavior in SyncPostCheckpoint(). 2021-11-02 11:31:54 -04:00
parser Avoid O(N^2) behavior in SyncPostCheckpoint(). 2021-11-02 11:31:54 -04:00
partitioning Avoid using ambiguous word "non-negative" in error messages. 2021-07-28 01:21:52 +09:00
po Fix typo 2021-11-08 09:17:24 -03:00
port Reject huge_pages=on if shared_memory_type=sysv. 2021-10-26 13:04:40 +13:00
postmaster Reject extraneous data after SSL or GSS encryption handshake. 2021-11-08 11:01:43 -05:00
regex Make pg_regexec() robust against out-of-range search_start. 2021-09-11 15:19:49 -04:00
replication Doc: improve protocol spec for logical replication Type messages. 2021-11-10 13:12:58 -05:00
rewrite Fix rewriter to set hasModifyingCTE correctly on rewritten queries. 2021-09-08 12:05:43 -04:00
snowball Update copyrights for 2020 2020-01-01 12:21:45 -05:00
statistics Release memory allocated by dependency_degree 2021-09-23 18:34:01 +02:00
storage Fix parallel operations that prevent oldest xmin from advancing. 2021-11-19 09:24:00 +05:30
tcop Fix Portal snapshot tracking to handle subtransactions properly. 2021-10-01 11:10:12 -04:00
tsearch Don't leak compiled regex(es) when an ispell cache entry is dropped. 2021-03-18 21:44:43 -04:00
utils Fix memory overrun when querying pg_stat_slru 2021-11-12 21:50:08 +09:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
nls.mk Translation updates 2020-09-14 13:14:53 +02:00