postgresql/src
Alvaro Herrera 2a4b6eed09 Compare Xmin to previous Xmax when locking an update chain
Not doing so causes us to traverse an update chain that has been broken
by concurrent page pruning.  All other code that traverses update chains
uses this check as one of the cases in which to stop iterating, so
replicate it here too.  Failure to do so leads to erroneous CLOG,
subtrans or multixact lookups.

Per discussion following the bug report by J Smith in
CADFUPgc5bmtv-yg9znxV-vcfkb+JPRqs7m2OesQXaM_4Z1JpdQ@mail.gmail.com
as diagnosed by Andres Freund.
2013-11-28 11:54:25 -03:00
..
backend Compare Xmin to previous Xmax when locking an update chain 2013-11-28 11:54:25 -03:00
bin Fix pg_isready to handle -d option properly. 2013-11-21 21:54:19 +09:00
common pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
include Fix stale-pointer problem in fast-path locking logic. 2013-11-27 18:10:03 -05:00
interfaces ECPG: Fix searching for quoted cursor names case-sensitively. 2013-11-27 11:14:52 +01:00
makefiles Revert "Backpatch pgxs vpath build and installation fixes." 2013-10-07 22:32:04 -04:00
pl Translation updates 2013-10-07 16:27:04 -04:00
port Ensure _dosmaperr() actually sets errno correctly. 2013-11-23 18:24:42 -05:00
template Remove _FORTIFY_SOURCE 2012-10-10 21:42:38 -04:00
test Flatten join alias Vars before pulling up targetlist items from a subquery. 2013-11-22 14:37:25 -05:00
timezone Fix some odd behaviors when using a SQL-style simple GMT offset timezone. 2013-11-01 12:13:23 -04:00
tools Minor spelling fixes 2013-06-01 10:18:59 -04:00
tutorial Modernize string literal syntax in tutorial example. 2013-01-19 17:20:32 -05: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 Revert "Backpatch pgxs vpath build and installation fixes." 2013-10-07 22:32:04 -04:00
Makefile.shlib Add pkg-config files for libpq and ecpg libraries 2013-03-31 16:58:40 -04:00
nls-global.mk NLS: Use msgmerge --previous option 2012-12-13 23:12:12 -05:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00