pgsql/src/backend/utils/time tqual.c

Started by Tom Lanealmost 25 years ago1 messagescommitters
Jump to latest
#1Tom Lane
tgl@postgresql.org

CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl@postgresql.org 02/01/11 15:07:04

Modified files:
src/backend/utils/time: tqual.c

Log message:
VACUUM must make sure that a HEAP_MARKED_FOR_UPDATE tuple gets marked
as either HEAP_XMAX_COMMITTED or HEAP_XMAX_INVALID once the updating
transaction is gone. Otherwise some other transaction may come along
and try to test the commit status of t_xmax later --- which could be
after VACUUM has recycled the CLOG status for that xact. Bug introduced
in post-beta4 bug fix.