aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2013-11-29 16:08:06 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2013-11-29 21:48:18 -0300
commit663d2e485e4d526770ab618469d875c404714119 (patch)
tree4d197b8235e25c3dcffa0b17779175f6ca45920e /src/backend/commands/async.c
parent215ac4ad6589e0f6a31cc4cd867aedba3cd42924 (diff)
downloadpostgresql-663d2e485e4d526770ab618469d875c404714119.tar.gz
postgresql-663d2e485e4d526770ab618469d875c404714119.zip
Don't TransactionIdDidAbort in HeapTupleGetUpdateXid
It is dangerous to do so, because some code expects to be able to see what's the true Xmax even if it is aborted (particularly while traversing HOT chains). So don't do it, and instead rely on the callers to verify for abortedness, if necessary. Several race conditions and bugs fixed in the process. One isolation test changes the expected output due to these. This also reverts commit c235a6a589b, which is no longer necessary. Backpatch to 9.3, where this function was introduced. Andres Freund
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions