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

Method Format

postgres/parser/sem/tree/txn.go:269–272  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

267
268// Format implements the NodeFormatter interface.
269func (node *Savepoint) Format(ctx *FmtCtx) {
270 ctx.WriteString("SAVEPOINT ")
271 node.Name.Format(ctx)
272}
273
274// ReleaseSavepoint represents a RELEASE SAVEPOINT <name> statement.
275type ReleaseSavepoint struct {

Callers

nothing calls this directly

Calls 2

WriteStringMethod · 0.80
FormatMethod · 0.65

Tested by

no test coverage detected