Modify sinval so that InvalidateSharedInvalid() does not hold

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8add6d71cff28d087872215b02c7a0b84ba786c4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1999-09-04T18:36:45Z
Releases: 7.1.1
Modify sinval so that InvalidateSharedInvalid() does not hold
the SInval spinlock while it is calling the passed invalFunction or
resetFunction.  This is necessary to avoid deadlock with lmgr change;
InvalidateSharedInvalid can be called recursively now.  It should be
a good performance improvement anyway --- holding a spinlock for more
than a very short interval is a no-no.

Files