diff options
author | Heikki Linnakangas | 2013-10-07 20:57:40 +0000 |
---|---|---|
committer | Heikki Linnakangas | 2013-10-07 21:04:28 +0000 |
commit | 903784337d2531ce40fbdd10f0acd6333c6e1e44 (patch) | |
tree | 8bd0f0356bbd481c2eba35ec53f2cd976a82094e /doc/src | |
parent | 4dd5c312fc0c661ab6e4a8dc4f104ce0c1abfc36 (diff) |
Fix bugs in SSI tuple locking.
1. In heap_hot_search_buffer(), the PredicateLockTuple() call is passed
wrong offset number. heapTuple->t_self is set to the tid of the first
tuple in the chain that's visited, not the one actually being read.
2. CheckForSerializableConflictIn() uses the tuple's t_ctid field
instead of t_self to check for exiting predicate locks on the tuple. If
the tuple was updated, but the updater rolled back, t_ctid points to the
aborted dead tuple.
Reported by Hannu Krosing. Backpatch to 9.1.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions