postgresql/src
Tom Lane a87c8c3edd 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
2021-12-02 17:15:10 -05:00
..
backend On Windows, close the client socket explicitly during backend shutdown. 2021-12-02 17:15:10 -05:00
bin Move into separate file all the SQL queries used in pg_upgrade tests 2021-12-02 10:31:43 +09:00
common Fix buffer overrun in unicode string normalization with empty input 2021-11-11 15:02:01 +09:00
fe_utils Fix incautious handling of possibly-miscoded strings in client code. 2021-06-07 14:15:25 -04:00
include Stamp 11.14. 2021-11-08 17:04:02 -05:00
interfaces Stamp 11.14. 2021-11-08 17:04:02 -05:00
makefiles Select CFLAGS_SL at configure time, not in platform-specific Makefiles. 2019-10-21 12:32:36 -04:00
pl Remove unneeded Python includes 2021-11-25 14:32:26 +01:00
port Stamp 11.14. 2021-11-08 17:04:02 -05:00
template Further tweaking of PG_SYSROOT heuristics for macOS. 2021-01-20 12:07:41 -05:00
test Block ALTER TABLE .. DROP NOT NULL on columns in replica identity index 2021-11-25 15:05:34 +09:00
timezone Update time zone data files to tzdata release 2021e. 2021-10-29 11:38:53 -04:00
tools Add support for Visual Studio 2022 in build scripts 2021-11-24 13:04:07 +09:00
tutorial tutorial: land height is "elevation", not "altitude" 2021-03-10 20:25:18 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Fix prove_installcheck to use correct paths when used with PGXS 2021-07-01 08:47:21 -04:00
Makefile.shlib Ensure static libraries have correct mod time even if ranlib messes it up. 2018-11-29 15:53:44 -05:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00