aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-06-02 15:31:28 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-06-02 15:31:28 -0400
commitf0d72ef638899ea1042e895c0573ba1d4af4d942 (patch)
tree81ac5139f7bdfc3413fcb3a3cc76037ea42f8b00 /src/backend/access/gist/gistproc.c
parenta12899e76bac3fe053f673450a52f537b2eec677 (diff)
downloadpostgresql-f0d72ef638899ea1042e895c0573ba1d4af4d942.tar.gz
postgresql-f0d72ef638899ea1042e895c0573ba1d4af4d942.zip
Clean up after erroneous SELECT FOR UPDATE/SHARE on a sequence.
My previous commit disallowed this operation, but did nothing about cleaning up the damage if one had already been done. With the operation disallowed, it's okay to just forcibly clear xmax in a sequence's tuple, since any value seen there could not represent a live transaction's lock. So, any sequence-specific operation will repair the problem automatically, whether or not the user has already seen "could not access status of transaction" failures.
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions