postgresql/src
Tom Lane 1b48f6af31 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:18 -04:00
..
backend Fix Windows implementation of PGSemaphoreLock. 2012-05-10 13:36:18 -04:00
bin Only attempt to show collations on servers >= 9.1. 2012-05-10 09:12:51 +02:00
include Overdue code review for transaction-level advisory locks patch. 2012-05-04 17:43:35 -04:00
interfaces ecpg: Fix off-by-one error in memory copying 2012-03-11 01:03:09 +02:00
makefiles Fix pgxs.mk to always add --dbname=$(CONTRIB_TESTDB) to REGRESS_OPTS. 2011-08-24 15:17:03 -04:00
pl PL/pgSQL RETURN NEXT was leaking converted tuples, causing 2012-05-09 22:53:17 -07:00
port Stamp 9.1.3. 2012-02-23 17:53:36 -05:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Fix planner's handling of RETURNING lists in writable CTEs. 2012-04-25 20:20:43 -04:00
timezone Fix edge-case behavior of pg_next_dst_boundary(). 2012-04-25 17:25:18 -04:00
tools Fix MSVC builds broken by xsubpp change 2011-11-27 01:23:00 -05:00
tutorial Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +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 some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:27 -04:00
Makefile.shlib Use single quotes in preference to double quotes for protecting pathnames. 2011-06-15 21:45:50 -04:00
nls-global.mk Fix makefile logic to not break the build when xgettext is missing 2010-10-14 23:16:46 +03:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00