Fix a tiny race condition in predicate locking. Need to hold the lock while
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 31 Mar 2011 15:43:23 +0000 (18:43 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 31 Mar 2011 15:43:23 +0000 (18:43 +0300)
commit60b142b9a6f413a92665766a1f265b361f68c20b
tree5b2f0d7b30165f323354d3c46e3f03da3cb78396
parentc8ae318cbeceadac172aa6b9cfa43734b0836e5e
Fix a tiny race condition in predicate locking. Need to hold the lock while
examining the head of predicate locks list. Also, fix the comment of
RemoveTargetIfNoLongerUsed, it was neglected when we changed the way update
chains are handled.

Kevin Grittner
src/backend/storage/lmgr/predicate.c