MCPcopy Create free account
hub / github.com/dolthub/doltgresql / LockingItem

Struct LockingItem

postgres/parser/sem/tree/select.go:973–977  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected