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

Method Format

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

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected