postgresql/src
Tom Lane b149d1f90e Fix Windows implementation of PGSemaphoreLock.
The original coding failed to reset ImmediateInterruptOK before returning,
which would potentially allow a subsequent query-cancel interrupt to be
accepted at an unsafe point.  This is a really nasty bug since it's so hard
to predict the consequences, but they could be unpleasant.

Also, ensure that signal handlers are serviced before this function
returns, even if the semaphore is already set.  This should make the
behavior more like Unix.

Back-patch to all supported versions.
2012-05-10 13:36:23 -04:00
..
backend Fix Windows implementation of PGSemaphoreLock. 2012-05-10 13:36:23 -04:00
bin Revert recent commit re positional arguments. 2012-04-18 10:58:01 -04:00
include Do stack-depth checking in all postmaster children. 2012-04-08 19:09:12 +03:00
interfaces ecpg: Fix off-by-one error in memory copying 2012-03-11 01:03:16 +02:00
makefiles Fix assorted issues with build and install paths containing spaces. 2011-06-14 16:41:23 -04:00
pl PL/pgSQL RETURN NEXT was leaking converted tuples, causing 2012-05-09 22:51:17 -07:00
port Stamp 9.0.7. 2012-02-23 17:56:26 -05:00
template Don't try to force use of -no-cpp-precomp on OS X. It's been five years 2010-08-02 04:51:25 +00:00
test Fix COPY FROM for null marker strings that correspond to invalid encoding. 2012-03-25 23:17:32 -04:00
timezone Fix edge-case behavior of pg_next_dst_boundary(). 2012-04-25 17:25:24 -04:00
tools Backpatch "Use the preferred version of xsubpp." 2011-11-28 07:54:03 -05:00
tutorial Remove copyright mention of Andrew Yu, per author's permission. 2010-02-02 18:52:02 +00:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00: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 Rethink the way walreceiver is linked into the backend. Instead than shoving 2010-01-20 09:16:24 +00:00
Makefile.global.in Accept slightly grotty coding in Makefile.global in order to keep the -L 2010-07-06 22:03:05 +00:00
Makefile.shlib Fix assorted issues with build and install paths containing spaces. 2011-06-14 16:41:23 -04:00
nls-global.mk Avoid error from mkdir if no languages are to be installed 2010-05-13 14:35:28 +00:00
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00