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

Struct TableNamePrefix

pkg/sql/sem/tree/table_name.go:40–50  ·  view source on GitHub ↗

TableNamePrefix corresponds to the path prefix of a table name.

Source from the content-addressed store, hash-verified

38
39// TableNamePrefix corresponds to the path prefix of a table name.
40type TableNamePrefix struct {
41 CatalogName Name
42 SchemaName Name
43
44 // ExplicitCatalog is true iff the catalog was explicitly specified
45 // or it needs to be rendered during pretty-printing.
46 ExplicitCatalog bool
47 // ExplicitSchema is true iff the schema was explicitly specified
48 // or it needs to be rendered during pretty-printing.
49 ExplicitSchema bool
50}
51
52// Format implements the NodeFormatter interface.
53func (tp *TableNamePrefix) Format(ctx *FmtCtx) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected