pub type Take<'a> = dyn FnMut(u32) -> Result<bool> + 'a;Expand description
The lock of LOCK TABLE on one relation. take(relid) is LockRelationOid in the mode of the statement, or ConditionalLockRelationOid with NOWAIT. It gives false when the lock is not free and the statement has NOWAIT.