postgresql/src/test
Tom Lane 2db576ba8c Fix corner case where SELECT FOR UPDATE could return a row twice.
In READ COMMITTED mode, if a SELECT FOR UPDATE discovers it has to redo
WHERE-clause checking on rows that have been updated since the SELECT's
snapshot, it invokes EvalPlanQual processing to do that.  If this first
occurs within a non-first child table of an inheritance tree, the previous
coding could accidentally re-return a matching row from an earlier,
already-scanned child table.  (And, to add insult to injury, I think this
could make it miss returning a row that should have been returned, if the
updated row that this happens on should still have passed the WHERE qual.)
Per report from Kyotaro Horiguchi; the added isolation test is based on his
test case.

This has been broken for quite awhile, so back-patch to all supported
branches.
2014-12-11 19:37:36 -05:00
..
examples Update copyright for 2014 2014-01-07 16:05:30 -05:00
isolation Fix corner case where SELECT FOR UPDATE could return a row twice. 2014-12-11 19:37:36 -05:00
locale Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
mb Lots of doc corrections. 2012-04-23 22:43:09 -04:00
modules Remove erroneous EXTRA_CLEAN line from Makefile. 2014-12-05 12:17:56 +02:00
performance Run newly-configured perltidy script on Perl files. 2012-07-04 21:47:49 -04:00
perl Add configure --enable-tap-tests option 2014-11-02 09:17:26 -05:00
regress Further changes to REINDEX SCHEMA 2014-12-11 22:54:05 +00:00
ssl Add a regression test suite for SSL support. 2014-12-09 17:37:20 +02:00
thread Remove dependency on wsock32.lib in favor of ws2_32 2014-07-15 14:18:39 +02:00
Makefile Add a regression test suite for SSL support. 2014-12-09 17:37:20 +02:00