lockcmds.h File Reference
Include dependency graph for lockcmds.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Function Documentation
◆ LockTableCommand()
void LockTableCommand
(
LockStmt *
lockstmt )
Definition at line 41 of file lockcmds.c.
42{
44
45 /*
46 * Iterate over the list and process the named relations one at a time
47 */
49 {
51 bool recurse = rv->
inh;
53
58
61 else if (recurse)
63 }
64}
static void RangeVarCallbackForLockTable(const RangeVar *rv, Oid relid, Oid oldrelid, void *arg)
static void LockViewRecurse(Oid reloid, LOCKMODE lockmode, bool nowait, List *ancestor_views)
static void LockTableRecurse(Oid reloid, LOCKMODE lockmode, bool nowait)
char get_rel_relkind(Oid relid)
Oid RangeVarGetRelidExtended(const RangeVar *relation, LOCKMODE lockmode, uint32 flags, RangeVarGetRelidCallback callback, void *callback_arg)
References get_rel_relkind(), RangeVar::inh, lfirst, LockTableRecurse(), LockViewRecurse(), LockStmt::mode, NIL, LockStmt::nowait, RangeVarCallbackForLockTable(), RangeVarGetRelidExtended(), LockStmt::relations, and RVR_NOWAIT.
Referenced by standard_ProcessUtility().