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

Method Format

postgres/parser/sem/tree/select.go:1064–1069  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

1062
1063// Format implements the NodeFormatter interface.
1064func (p LockingWaitPolicy) Format(ctx *FmtCtx) {
1065 if p != LockWaitBlock {
1066 ctx.WriteString(" ")
1067 ctx.WriteString(p.String())
1068 }
1069}
1070
1071// Max returns the maximum of the two locking wait policies.
1072func (p LockingWaitPolicy) Max(p2 LockingWaitPolicy) LockingWaitPolicy {

Callers

nothing calls this directly

Calls 2

StringMethod · 0.95
WriteStringMethod · 0.80

Tested by

no test coverage detected