MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / LockingItem

Struct LockingItem

pkg/sql/sem/tree/select.go:977–981  ·  view source on GitHub ↗

LockingItem represents a single locking item in a locking clause. NOTE: if this struct changes, HashLockingItem and IsLockingItemEqual in opt/memo/interner.go will need to be updated accordingly.

Source from the content-addressed store, hash-verified

975// NOTE: if this struct changes, HashLockingItem and IsLockingItemEqual
976// in opt/memo/interner.go will need to be updated accordingly.
977type LockingItem struct {
978 Strength LockingStrength
979 Targets TableNames
980 WaitPolicy LockingWaitPolicy
981}
982
983// Format implements the NodeFormatter interface.
984func (f *LockingItem) Format(ctx *FmtCtx) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected