Fix a tiny race condition in predicate locking. Need to hold the lock while

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 60b142b9a6f413a92665766a1f265b361f68c20b
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2011-03-31T15:43:23Z
Releases: 9.1.0
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

Files

PathChange+/−
src/backend/storage/lmgr/predicate.c modified +3 −4