postgresql/src
Noah Misch c68bff6443 MinGW: Include .dll extension in .def file LIBRARY commands.
Newer toolchains append the extension implicitly if missing, but
buildfarm member narwhal (gcc 3.4.2, ld 2.15.91 20040904) does not.
This affects most core libraries having an exports.txt file, namely
libpq and the ECPG support libraries.  On Windows Server 2003, Windows
API functions that load and unload DLLs internally will mistakenly
unload a libpq whose DLL header reports "LIBPQ" instead of "LIBPQ.dll".
When, subsequently, control would return to libpq, the backend crashes.
Back-patch to 9.4, like commit 846e91e022.
Before that commit, we used a different linking technique that yielded
"libpq.dll" in the DLL header.

Commit 53566fc094 worked around this by
eliminating a call to a function that loads and unloads DLLs internally.
That commit is no longer necessary for correctness, but its improving
consistency with the MSVC build remains valid.
2014-10-27 19:59:52 -04:00
..
backend Fix two bugs in tsquery @> operator. 2014-10-27 10:51:24 +02:00
bin Fix undersized result buffer in pset_quoted_string(). 2014-10-26 19:17:57 -04:00
common Small message fixes 2014-08-09 00:07:29 -04:00
include Flush unlogged table's buffers when copying or moving databases. 2014-10-20 23:45:20 +02:00
interfaces Ensure libpq reports a suitable error message on unexpected socket EOF. 2014-10-22 18:41:47 -04:00
makefiles MinGW: Use -static-libgcc when linking a DLL. 2014-10-21 22:56:42 -04:00
pl Translation updates 2014-10-05 23:22:24 -04:00
port Work around Windows locale name with non-ASCII character. 2014-10-24 19:59:46 +03:00
template Revert to using --enable-auto-import in Cygwin builds. 2014-02-16 15:14:04 -05:00
test Improve planning of btree index scans using ScalarArrayOpExpr quals. 2014-10-26 16:12:26 -04:00
timezone Support timezone abbreviations that sometimes change. 2014-10-16 15:22:13 -04:00
tools Rework 'MOVE ALL' to 'ALTER .. ALL IN TABLESPACE' 2014-08-21 19:12:00 -04:00
tutorial pgindent run for 9.4 2014-05-06 12:12:18 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04: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 Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Fix TAP tests with Perl 5.8 2014-10-26 09:50:31 -04:00
Makefile.shlib MinGW: Include .dll extension in .def file LIBRARY commands. 2014-10-27 19:59:52 -04:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00