aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-11-17 18:00:25 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-11-17 18:00:25 +0000
commit91eb4895bb6c57face2edf30e20e16e6ab942ef1 (patch)
treecfbd90e4ac556bc7e16c46b542f3e733de323375 /src/tutorial/syscat.source
parenta2281c8e6f5ffe4fa67584f850bfa077e526115e (diff)
downloadpostgresql-91eb4895bb6c57face2edf30e20e16e6ab942ef1.tar.gz
postgresql-91eb4895bb6c57face2edf30e20e16e6ab942ef1.zip
Repair two related errors in heap_lock_tuple: it was failing to recognize
cases where we already hold the desired lock "indirectly", either via membership in a MultiXact or because the lock was originally taken by a different subtransaction of the current transaction. These cases must be accounted for to avoid needless deadlocks and/or inappropriate replacement of an exclusive lock with a shared lock. Per report from Clarence Gardner and subsequent investigation.
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions