Fix lazy VACUUM to not wait for AccessExclusiveLock during drop phase
We expect lazy VACUUM to skip drop phase if it cannot acquire the relation's AccessExclusiveLock. This commit properly sets the dontWait flag to True when calling try_relation_open during drop phase. We also change the dontWait part of try_relation_open to not error out because callers should be the ones to handle an invalid relation.
Showing
想要评论请 注册 或 登录