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

Method Format

pkg/sql/sem/tree/show.go:384–387  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

382
383// Format implements the NodeFormatter interface.
384func (node *ShowSyntax) Format(ctx *FmtCtx) {
385 ctx.WriteString("SHOW SYNTAX ")
386 ctx.WriteString(lex.EscapeSQLString(node.Statement))
387}
388
389// ShowTransactionStatus represents a SHOW TRANSACTION STATUS statement.
390type ShowTransactionStatus struct {

Callers

nothing calls this directly

Calls 1

EscapeSQLStringFunction · 0.92

Tested by

no test coverage detected