Versions in this module Expand all Collapse all v0 v0.1.0 Nov 3, 2026 Changes in this version + const ABS_AFTER + const ABS_BEFORE + const ACLITEMARRAYOID + const ACLITEMOID + const ADBC + const AGO + const AMPM + const ANYARRAYOID + const ANYCOMPATIBLEARRAYOID + const ANYCOMPATIBLEMULTIRANGEOID + const ANYCOMPATIBLENONARRAYOID + const ANYCOMPATIBLEOID + const ANYCOMPATIBLERANGEOID + const ANYELEMENTOID + const ANYENUMOID + const ANYMULTIRANGEOID + const ANYNONARRAYOID + const ANYOID + const ANYRANGEOID + const ATTRIBUTE_IDENTITY_ALWAYS + const ATTRIBUTE_IDENTITY_BY_DEFAULT + const BITARRAYOID + const BITOID + const BOOLARRAYOID + const BOOLOID + const BOXARRAYOID + const BOXOID + const BPCHARARRAYOID + const BPCHAROID + const BYTEAARRAYOID + const BYTEAOID + const BinaryFormat + const CASHOID + const CAS_DEFERRABLE + const CAS_INITIALLY_DEFERRED + const CAS_INITIALLY_IMMEDIATE + const CAS_NOT_DEFERRABLE + const CAS_NOT_VALID + const CAS_NO_INHERIT + const CENTURY + const CHARARRAYOID + const CHAROID + const CIDARRAYOID + const CIDOID + const CIDRARRAYOID + const CIDROID + const CIRCLEARRAYOID + const CIRCLEOID + const CSTRINGARRAYOID + const CSTRINGOID + const CURSOR_OPT_ASENSITIVE + const CURSOR_OPT_BINARY + const CURSOR_OPT_CUSTOM_PLAN + const CURSOR_OPT_FAST_PLAN + const CURSOR_OPT_GENERIC_PLAN + const CURSOR_OPT_HOLD + const CURSOR_OPT_INSENSITIVE + const CURSOR_OPT_NO_SCROLL + const CURSOR_OPT_PARALLEL_OK + const CURSOR_OPT_SCROLL + const DATEARRAYOID + const DATEMULTIRANGEARRAYOID + const DATEMULTIRANGEOID + const DATEOID + const DATERANGEARRAYOID + const DATERANGEOID + const DAY + const DECADE + const DOW + const DOY + const DTZ + const DYNTZ + const EVENT_TRIGGEROID + const FDW_HANDLEROID + const FETCH_ALL + const FKCONSTR_ACTION_CASCADE + const FKCONSTR_ACTION_NOACTION + const FKCONSTR_ACTION_RESTRICT + const FKCONSTR_ACTION_SETDEFAULT + const FKCONSTR_ACTION_SETNULL + const FKCONSTR_MATCH_FULL + const FKCONSTR_MATCH_PARTIAL + const FKCONSTR_MATCH_SIMPLE + const FLOAT4ARRAYOID + const FLOAT4OID + const FLOAT8ARRAYOID + const FLOAT8OID + const FRAMEOPTION_BETWEEN + const FRAMEOPTION_DEFAULTS + const FRAMEOPTION_END_CURRENT_ROW + const FRAMEOPTION_END_OFFSET + const FRAMEOPTION_END_OFFSET_FOLLOWING + const FRAMEOPTION_END_OFFSET_PRECEDING + const FRAMEOPTION_END_UNBOUNDED_FOLLOWING + const FRAMEOPTION_END_UNBOUNDED_PRECEDING + const FRAMEOPTION_EXCLUDE_CURRENT_ROW + const FRAMEOPTION_EXCLUDE_GROUP + const FRAMEOPTION_EXCLUDE_TIES + const FRAMEOPTION_GROUPS + const FRAMEOPTION_NONDEFAULT + const FRAMEOPTION_RANGE + const FRAMEOPTION_ROWS + const FRAMEOPTION_START_CURRENT_ROW + const FRAMEOPTION_START_OFFSET + const FRAMEOPTION_START_OFFSET_FOLLOWING + const FRAMEOPTION_START_OFFSET_PRECEDING + const FRAMEOPTION_START_UNBOUNDED_FOLLOWING + const FRAMEOPTION_START_UNBOUNDED_PRECEDING + const GTSVECTORARRAYOID + const GTSVECTOROID + const HOUR + const IGNORE_DTF + const INDEX_AM_HANDLEROID + const INETARRAYOID + const INETOID + const INT2ARRAYOID + const INT2OID + const INT2VECTORARRAYOID + const INT2VECTOROID + const INT4ARRAYOID + const INT4MULTIRANGEARRAYOID + const INT4MULTIRANGEOID + const INT4OID + const INT4RANGEARRAYOID + const INT4RANGEOID + const INT8ARRAYOID + const INT8MULTIRANGEARRAYOID + const INT8MULTIRANGEOID + const INT8OID + const INT8RANGEARRAYOID + const INT8RANGEOID + const INTERNALOID + const INTERVALARRAYOID + const INTERVALOID + const INTERVAL_FULL_PRECISION + const INTERVAL_FULL_RANGE + const INTERVAL_PRECISION_MASK + const INTERVAL_RANGE_MASK + const ISODATE + const ISOTIME + const InvalidOid + const JSONARRAYOID + const JSONBARRAYOID + const JSONBOID + const JSONOID + const JSONPATHARRAYOID + const JSONPATHOID + const JULIAN + const LANGUAGE_HANDLEROID + const LINEARRAYOID + const LINEOID + const LSEGARRAYOID + const LSEGOID + const LSNOID + const MACADDR8ARRAYOID + const MACADDR8OID + const MACADDRARRAYOID + const MACADDROID + const MICROSECOND + const MILLISECOND + const MINUTE + const MONEYARRAYOID + const MONEYOID + const MONTH + const NAMEARRAYOID + const NAMEOID + const NUMERICARRAYOID + const NUMERICOID + const NUMMULTIRANGEARRAYOID + const NUMMULTIRANGEOID + const NUMRANGEARRAYOID + const NUMRANGEOID + const OIDARRAYOID + const OIDOID + const OIDVECTORARRAYOID + const OIDVECTOROID + const PATHARRAYOID + const PATHOID + const PG_ATTRIBUTEARRAYOID + const PG_BRIN_BLOOM_SUMMARYOID + const PG_BRIN_MINMAX_MULTI_SUMMARYOID + const PG_CLASSARRAYOID + const PG_DDL_COMMANDOID + const PG_DEPENDENCIESOID + const PG_LSNARRAYOID + const PG_LSNOID + const PG_MCV_LISTOID + const PG_NDISTINCTOID + const PG_NODE_TREEOID + const PG_PROCARRAYOID + const PG_SNAPSHOTARRAYOID + const PG_SNAPSHOTOID + const PG_TYPEARRAYOID + const POINTARRAYOID + const POINTOID + const POLYGONARRAYOID + const POLYGONOID + const RECORDARRAYOID + const RECORDOID + const REFCURSORARRAYOID + const REFCURSOROID + const REGCLASSARRAYOID + const REGCLASSOID + const REGCOLLATIONARRAYOID + const REGCOLLATIONOID + const REGCONFIGARRAYOID + const REGCONFIGOID + const REGDICTIONARYARRAYOID + const REGDICTIONARYOID + const REGNAMESPACEARRAYOID + const REGNAMESPACEOID + const REGOPERARRAYOID + const REGOPERATORARRAYOID + const REGOPERATOROID + const REGOPEROID + const REGPROCARRAYOID + const REGPROCEDUREARRAYOID + const REGPROCEDUREOID + const REGPROCOID + const REGROLEARRAYOID + const REGROLEOID + const REGTYPEARRAYOID + const REGTYPEOID + const RELPERSISTENCE_PERMANENT + const RELPERSISTENCE_TEMP + const RELPERSISTENCE_UNLOGGED + const REPLICA_IDENTITY_DEFAULT + const REPLICA_IDENTITY_FULL + const REPLICA_IDENTITY_INDEX + const REPLICA_IDENTITY_NOTHING + const RESERV + const ReplicationSlotFailoverParamName + const ReplicationSlotTemporaryParamName + const SECOND + const TABLE_AM_HANDLEROID + const TEXTARRAYOID + const TEXTOID + const TIDARRAYOID + const TIDOID + const TIMEARRAYOID + const TIMEOID + const TIMESTAMPARRAYOID + const TIMESTAMPOID + const TIMESTAMPTZARRAYOID + const TIMESTAMPTZOID + const TIMETZARRAYOID + const TIMETZOID + const TRIGGEROID + const TRIGGER_TIMING_AFTER + const TRIGGER_TIMING_BEFORE + const TRIGGER_TIMING_INSTEAD + const TRIGGER_TYPE_DELETE + const TRIGGER_TYPE_INSERT + const TRIGGER_TYPE_TRUNCATE + const TRIGGER_TYPE_UPDATE + const TSMULTIRANGEARRAYOID + const TSMULTIRANGEOID + const TSM_HANDLEROID + const TSQUERYARRAYOID + const TSQUERYOID + const TSRANGEARRAYOID + const TSRANGEOID + const TSTZMULTIRANGEARRAYOID + const TSTZMULTIRANGEOID + const TSTZRANGEARRAYOID + const TSTZRANGEOID + const TSVECTORARRAYOID + const TSVECTOROID + const TXID_SNAPSHOTARRAYOID + const TXID_SNAPSHOTOID + const TZ + const TextFormat + const UNITS + const UNKNOWNOID + const UUIDARRAYOID + const UUIDOID + const VARBITARRAYOID + const VARBITOID + const VARCHARARRAYOID + const VARCHAROID + const VOIDOID + const WEEK + const XID8ARRAYOID + const XID8OID + const XIDARRAYOID + const XIDOID + const XMLARRAYOID + const XMLOID + const YEAR + var INTERVAL_MASK_DAY = IntervalMask(DAY) + var INTERVAL_MASK_HOUR = IntervalMask(HOUR) + var INTERVAL_MASK_MINUTE = IntervalMask(MINUTE) + var INTERVAL_MASK_MONTH = IntervalMask(MONTH) + var INTERVAL_MASK_SECOND = IntervalMask(SECOND) + var INTERVAL_MASK_YEAR = IntervalMask(YEAR) + var ReplicationSlotFuncFailoverArgIndex = map[string]int + var ReplicationSlotFuncTemporaryArgIndex = map[string]int + func BoolVal(node Node) bool + func CloneSliceOfBool(n []bool) []bool + func CloneSliceOfInt(n []int) []int + func CloneSliceOfInt32(n []int32) []int32 + func CloneSliceOfString(n []string) []string + func CountArgs(expr Node) int + func DollarQuoteString(s string) string + func ExtractTablesUsed(stmt Stmt) []string + func FindNonTemporaryNonFailoverReplicationSlotCall(stmt Stmt) (string, bool) + func FindNonTemporaryReplicationSlotCall(stmt Stmt) (string, bool) + func FingerprintSQL(sql string) string + func FloatVal(node Node) float64 + func FormatAlias(aliasName string) string + func FormatColumnList(columns []string) string + func FormatCommaList(items []string) string + func FormatFullyQualifiedName(database, schema, name string) string + func FormatList(elements []string, separator string) string + func FormatOptionalClause(keyword, content string) string + func FormatParentheses(content string) string + func FormatQualifiedName(parts ...string) string + func FormatSchemaQualifiedName(schema, name string) string + func GetCaseWhenCount(expr Node) int + func HasAggregateFilter(expr Node) bool + func HasCaseElse(expr Node) bool + func HasSubLinkTest(expr Node) bool + func IntVal(node Node) int + func IntervalMask(field int) int + func IntervalPrecision(typmod int) int + func IntervalRange(typmod int) int + func IntervalTypmod(precision, rangeVal int) int + func IsAggref(expr Node) bool + func IsAggregate(expr Node) bool + func IsAllowedInAbortedTransaction(stmt Stmt) bool + func IsArrayExpr(expr Node) bool + func IsArraySublink(expr Node) bool + func IsBeginStatement(stmt Stmt) bool + func IsBuiltInType(typeName string) bool + func IsCaseExpr(expr Node) bool + func IsCoalesceExpr(expr Node) bool + func IsCommitStatement(stmt Stmt) bool + func IsConstant(expr Node) bool + func IsDistinctAggregate(expr Node) bool + func IsExistsSublink(expr Node) bool + func IsFunction(expr Node) bool + func IsInExpr(expr Node) bool + func IsKeyword(name string) bool + func IsMultiDimArray(expr Node) bool + func IsNode(v any) bool + func IsNotInExpr(expr Node) bool + func IsOrderedSetAggregate(expr Node) bool + func IsReservedKeyword(name string) bool + func IsRollbackStatement(stmt Stmt) bool + func IsRowExpr(expr Node) bool + func IsScalarArrayOpExpr(expr Node) bool + func IsScalarSublink(expr Node) bool + func IsSimpleWindowAgg(expr Node) bool + func IsStarAggregate(expr Node) bool + func IsSubLink(expr Node) bool + func IsTableGroupDDL(stmt Stmt) bool + func IsVariable(expr Node) bool + func IsWindowFunc(expr Node) bool + func KeywordNames() []string + func KeywordNeedsFunctionQuoting(name string) bool + func LocationOf(v any) int + func MaxParamRef(node Node) int + func PrintAExprConst(expr Expression) string + func PrintAST(node Node, indent int) + func QuoteArgLabel(name string) string + func QuoteConfValue(value string) (string, error) + func QuoteFunctionName(name string) string + func QuoteIdentifier(name string) string + func QuoteIdentifierOrOperator(name string) string + func QuoteQualifiedIdentifier(name string) string + func QuoteStringLiteral(value string) string + func ReconstructSQL(normalizedAST Stmt, bindValues []*A_Const) string + func RedactIfCredentialBearing(stmt Stmt) (redacted string, ok bool) + func StrVal(node Node) string + func WalkNodes(node Node, walker NodeWalker) + type A_ArrayExpr struct + Elements *NodeList + func CloneRefOfA_ArrayExpr(n *A_ArrayExpr) *A_ArrayExpr + func NewA_ArrayExpr(elements *NodeList, location int) *A_ArrayExpr + func (a *A_ArrayExpr) ExpressionType() string + func (a *A_ArrayExpr) IsExpr() bool + func (a *A_ArrayExpr) String() string + type A_Const struct + Isnull bool + Val Value + func CloneRefOfA_Const(n *A_Const) *A_Const + func NewA_Const(val Value, location int) *A_Const + func NewA_ConstNull(location int) *A_Const + func (a *A_Const) ExpressionType() string + func (a *A_Const) IsExpr() bool + func (a *A_Const) SqlString() string + func (a *A_Const) String() string + type A_Expr struct + Kind A_Expr_Kind + Lexpr Node + Name *NodeList + Rexpr Node + func CloneRefOfA_Expr(n *A_Expr) *A_Expr + func NewA_Expr(kind A_Expr_Kind, name *NodeList, lexpr, rexpr Node, location int) *A_Expr + func (a *A_Expr) ExpressionType() string + func (a *A_Expr) IsExpr() bool + func (a *A_Expr) SqlString() string + func (a *A_Expr) String() string + type A_Expr_Kind int + const AEXPR_BETWEEN + const AEXPR_BETWEEN_SYM + const AEXPR_DISTINCT + const AEXPR_ILIKE + const AEXPR_IN + const AEXPR_LIKE + const AEXPR_NOT_BETWEEN + const AEXPR_NOT_BETWEEN_SYM + const AEXPR_NOT_DISTINCT + const AEXPR_NULLIF + const AEXPR_OP + const AEXPR_OP_ALL + const AEXPR_OP_ANY + const AEXPR_SIMILAR + type A_Indices struct + IsSlice bool + Lidx Node + Uidx Node + func CloneRefOfA_Indices(n *A_Indices) *A_Indices + func NewA_Indices(idx Node, location int) *A_Indices + func NewA_IndicesSlice(lidx, uidx Node, location int) *A_Indices + func (a *A_Indices) ExpressionType() string + func (a *A_Indices) IsExpr() bool + func (a *A_Indices) SqlString() string + func (a *A_Indices) String() string + type A_Indirection struct + Arg Node + Indirection *NodeList + func CloneRefOfA_Indirection(n *A_Indirection) *A_Indirection + func NewA_Indirection(arg Node, indirection *NodeList, location int) *A_Indirection + func (a *A_Indirection) ExpressionType() string + func (a *A_Indirection) IsExpr() bool + func (a *A_Indirection) SqlString() string + func (a *A_Indirection) String() string + type A_Star struct + func CloneRefOfA_Star(n *A_Star) *A_Star + func NewA_Star(location int) *A_Star + func (a *A_Star) ExpressionType() string + func (a *A_Star) IsExpr() bool + func (a *A_Star) SqlString() string + func (a *A_Star) String() string + type AccessPriv struct + Cols *NodeList + PrivName string + func CloneRefOfAccessPriv(n *AccessPriv) *AccessPriv + func NewAccessPriv(privName string, cols *NodeList) *AccessPriv + func (ap *AccessPriv) String() string + type AclMode uint32 + type AggSplit int + const AGGSPLIT_FINAL_DESERIAL + const AGGSPLIT_INITIAL_SERIAL + const AGGSPLIT_SIMPLE + func (a AggSplit) String() string + type Aggref struct + Aggargtypes []Oid + Aggcollid Oid + Aggdirectargs *NodeList + Aggdistinct *NodeList + Aggfilter Node + Aggfnoid Oid + Aggkind byte + Agglevelsup Index + Aggno int + Aggorder *NodeList + Aggpresorted bool + Aggsplit AggSplit + Aggstar bool + Aggtransno int + Aggtranstype Oid + Aggtype Oid + Aggvariadic bool + Args *NodeList + Inputcollid Oid + func CloneRefOfAggref(n *Aggref) *Aggref + func NewAggref(aggfnoid Oid, aggtype Oid, args *NodeList) *Aggref + func NewAvg(expr Node) *Aggref + func NewCount(expr Node) *Aggref + func NewCountStar() *Aggref + func NewMax(expr Node) *Aggref + func NewMin(expr Node) *Aggref + func NewSum(expr Node) *Aggref + func (a *Aggref) ExpressionType() string + func (a *Aggref) String() string + type Alias struct + AliasName string + ColNames *NodeList + func CloneRefOfAlias(n *Alias) *Alias + func NewAlias(aliasName string, colNames *NodeList) *Alias + func (a *Alias) SqlString() string + func (a *Alias) String() string + type AlterCollationStmt struct + Collname *NodeList + func CloneRefOfAlterCollationStmt(n *AlterCollationStmt) *AlterCollationStmt + func NewAlterCollationStmt(collname *NodeList) *AlterCollationStmt + func (n *AlterCollationStmt) SqlString() string + func (n *AlterCollationStmt) StatementType() string + func (n *AlterCollationStmt) String() string + type AlterCompositeTypeStmt struct + Cmds *NodeList + TypeName *NodeList + func CloneRefOfAlterCompositeTypeStmt(n *AlterCompositeTypeStmt) *AlterCompositeTypeStmt + func NewAlterCompositeTypeStmt(typeName *NodeList, cmds *NodeList) *AlterCompositeTypeStmt + func (n *AlterCompositeTypeStmt) SqlString() string + func (n *AlterCompositeTypeStmt) StatementType() string + func (n *AlterCompositeTypeStmt) String() string + type AlterDatabaseRefreshCollStmt struct + Dbname string + func CloneRefOfAlterDatabaseRefreshCollStmt(n *AlterDatabaseRefreshCollStmt) *AlterDatabaseRefreshCollStmt + func NewAlterDatabaseRefreshCollStmt(dbname string) *AlterDatabaseRefreshCollStmt + func (n *AlterDatabaseRefreshCollStmt) SqlString() string + func (n *AlterDatabaseRefreshCollStmt) StatementType() string + func (n *AlterDatabaseRefreshCollStmt) String() string + type AlterDatabaseSetStmt struct + Dbname string + Setstmt *VariableSetStmt + func CloneRefOfAlterDatabaseSetStmt(n *AlterDatabaseSetStmt) *AlterDatabaseSetStmt + func NewAlterDatabaseSetStmt(dbname string, setstmt *VariableSetStmt) *AlterDatabaseSetStmt + func (n *AlterDatabaseSetStmt) SqlString() string + func (n *AlterDatabaseSetStmt) StatementType() string + func (n *AlterDatabaseSetStmt) String() string + type AlterDatabaseStmt struct + Dbname string + Options *NodeList + func CloneRefOfAlterDatabaseStmt(n *AlterDatabaseStmt) *AlterDatabaseStmt + func NewAlterDatabaseStmt(dbname string, options *NodeList) *AlterDatabaseStmt + func (n *AlterDatabaseStmt) SqlString() string + func (n *AlterDatabaseStmt) StatementType() string + func (n *AlterDatabaseStmt) String() string + type AlterDefaultPrivilegesStmt struct + Action *GrantStmt + Options *NodeList + func CloneRefOfAlterDefaultPrivilegesStmt(n *AlterDefaultPrivilegesStmt) *AlterDefaultPrivilegesStmt + func NewAlterDefaultPrivilegesStmt(options *NodeList, action *GrantStmt) *AlterDefaultPrivilegesStmt + func (adps *AlterDefaultPrivilegesStmt) SqlString() string + func (adps *AlterDefaultPrivilegesStmt) StatementType() string + func (adps *AlterDefaultPrivilegesStmt) String() string + type AlterDomainStmt struct + Behavior DropBehavior + Def Node + MissingOk bool + Name string + Subtype byte + TypeName *NodeList + func CloneRefOfAlterDomainStmt(n *AlterDomainStmt) *AlterDomainStmt + func NewAlterDomainStmt(subtype byte, typeName *NodeList) *AlterDomainStmt + func (a *AlterDomainStmt) SqlString() string + func (a *AlterDomainStmt) StatementType() string + func (a *AlterDomainStmt) String() string + type AlterEnumStmt struct + NewVal string + NewValIsAfter bool + NewValNeighbor string + OldVal string + SkipIfNewValExists bool + TypeName *NodeList + func CloneRefOfAlterEnumStmt(n *AlterEnumStmt) *AlterEnumStmt + func NewAlterEnumStmt(typeName *NodeList) *AlterEnumStmt + func (aes *AlterEnumStmt) SqlString() string + func (aes *AlterEnumStmt) StatementType() string + func (aes *AlterEnumStmt) String() string + type AlterEventTrigStmt struct + TgEnabled TriggerFires + TrigName string + func CloneRefOfAlterEventTrigStmt(n *AlterEventTrigStmt) *AlterEventTrigStmt + func NewAlterEventTrigStmt(trigname string, tgenabled TriggerFires) *AlterEventTrigStmt + func (a *AlterEventTrigStmt) SqlString() string + func (a *AlterEventTrigStmt) StatementType() string + func (a *AlterEventTrigStmt) String() string + type AlterExtensionContentsStmt struct + Action bool + Extname string + Object Node + Objtype int + func CloneRefOfAlterExtensionContentsStmt(n *AlterExtensionContentsStmt) *AlterExtensionContentsStmt + func NewAlterExtensionContentsStmt(extname string, action bool, objtype int, object Node) *AlterExtensionContentsStmt + func (a *AlterExtensionContentsStmt) SqlString() string + func (a *AlterExtensionContentsStmt) StatementType() string + func (a *AlterExtensionContentsStmt) String() string + type AlterExtensionStmt struct + Extname string + Options *NodeList + func CloneRefOfAlterExtensionStmt(n *AlterExtensionStmt) *AlterExtensionStmt + func NewAlterExtensionStmt(extname string, options *NodeList) *AlterExtensionStmt + func (a *AlterExtensionStmt) SqlString() string + func (a *AlterExtensionStmt) StatementType() string + func (a *AlterExtensionStmt) String() string + type AlterFdwStmt struct + FdwName string + FuncOptions *NodeList + Options *NodeList + func CloneRefOfAlterFdwStmt(n *AlterFdwStmt) *AlterFdwStmt + func NewAlterFdwStmt(fdwname string, funcOptions, options *NodeList) *AlterFdwStmt + func (a *AlterFdwStmt) SqlString() string + func (a *AlterFdwStmt) StatementType() string + func (a *AlterFdwStmt) String() string + type AlterForeignServerStmt struct + HasVersion bool + Options *NodeList + Servername string + Version string + func CloneRefOfAlterForeignServerStmt(n *AlterForeignServerStmt) *AlterForeignServerStmt + func NewAlterForeignServerStmt(servername, version string, options *NodeList, hasVersion bool) *AlterForeignServerStmt + func (a *AlterForeignServerStmt) SqlString() string + func (a *AlterForeignServerStmt) StatementType() string + func (a *AlterForeignServerStmt) String() string + type AlterFunctionStmt struct + Actions *NodeList + Func *ObjectWithArgs + ObjType ObjectType + func CloneRefOfAlterFunctionStmt(n *AlterFunctionStmt) *AlterFunctionStmt + func NewAlterFunctionStmt(objType ObjectType, funcWithArgs *ObjectWithArgs, actions *NodeList) *AlterFunctionStmt + func (a *AlterFunctionStmt) SqlString() string + func (a *AlterFunctionStmt) StatementType() string + func (a *AlterFunctionStmt) String() string + type AlterMigrationStmt struct + Direction MigrationDirection + IfExists bool + Name string + Options *NodeList + When *A_Expr + func CloneRefOfAlterMigrationStmt(n *AlterMigrationStmt) *AlterMigrationStmt + func NewAlterMigrationStmt(name string, ifExists bool, action *MigrationActionSpec) *AlterMigrationStmt + func (n *AlterMigrationStmt) SqlString() string + func (n *AlterMigrationStmt) StatementType() string + func (n *AlterMigrationStmt) String() string + type AlterObjectDependsStmt struct + Extname *String + Object Node + ObjectType ObjectType + Relation *RangeVar + Remove bool + func CloneRefOfAlterObjectDependsStmt(n *AlterObjectDependsStmt) *AlterObjectDependsStmt + func NewAlterObjectDependsStmt(objectType ObjectType, extname *String, remove bool) *AlterObjectDependsStmt + func (n *AlterObjectDependsStmt) SqlString() string + func (n *AlterObjectDependsStmt) StatementType() string + func (n *AlterObjectDependsStmt) String() string + type AlterObjectSchemaStmt struct + MissingOk bool + NewSchema string + Object Node + ObjectType ObjectType + Relation *RangeVar + func CloneRefOfAlterObjectSchemaStmt(n *AlterObjectSchemaStmt) *AlterObjectSchemaStmt + func NewAlterObjectSchemaStmt(objectType ObjectType, newSchema string) *AlterObjectSchemaStmt + func (n *AlterObjectSchemaStmt) SqlString() string + func (n *AlterObjectSchemaStmt) StatementType() string + func (n *AlterObjectSchemaStmt) String() string + type AlterOpFamilyStmt struct + AmName string + IsDrop bool + Items *NodeList + OpFamilyName *NodeList + func CloneRefOfAlterOpFamilyStmt(n *AlterOpFamilyStmt) *AlterOpFamilyStmt + func NewAlterOpFamilyStmt(name *NodeList, amName string, isDrop bool, items *NodeList) *AlterOpFamilyStmt + func (a *AlterOpFamilyStmt) SqlString() string + func (a *AlterOpFamilyStmt) StatementType() string + func (a *AlterOpFamilyStmt) String() string + type AlterOperatorStmt struct + Opername *ObjectWithArgs + Options *NodeList + func CloneRefOfAlterOperatorStmt(n *AlterOperatorStmt) *AlterOperatorStmt + func NewAlterOperatorStmt(opername *ObjectWithArgs, options *NodeList) *AlterOperatorStmt + func (n *AlterOperatorStmt) SqlString() string + func (n *AlterOperatorStmt) StatementType() string + func (n *AlterOperatorStmt) String() string + type AlterOwnerStmt struct + Newowner *RoleSpec + Object Node + ObjectType ObjectType + Relation *RangeVar + func CloneRefOfAlterOwnerStmt(n *AlterOwnerStmt) *AlterOwnerStmt + func NewAlterOwnerStmt(objectType ObjectType, newowner *RoleSpec) *AlterOwnerStmt + func (n *AlterOwnerStmt) SqlString() string + func (n *AlterOwnerStmt) StatementType() string + func (n *AlterOwnerStmt) String() string + type AlterPolicyStmt struct + PolicyName string + Qual Node + Roles *NodeList + Table *RangeVar + WithCheck Node + func CloneRefOfAlterPolicyStmt(n *AlterPolicyStmt) *AlterPolicyStmt + func NewAlterPolicyStmt(policyName string, table *RangeVar, roles *NodeList, qual Node, withCheck Node) *AlterPolicyStmt + func (aps *AlterPolicyStmt) SqlString() string + func (aps *AlterPolicyStmt) StatementType() string + func (aps *AlterPolicyStmt) String() string + type AlterPublicationStmt struct + Action AlterPublicationType + Options *NodeList + PubName string + PubObjects *NodeList + func CloneRefOfAlterPublicationStmt(n *AlterPublicationStmt) *AlterPublicationStmt + func NewAlterPublicationStmt(name string, options, objects *NodeList, action AlterPublicationType) *AlterPublicationStmt + func (a *AlterPublicationStmt) SqlString() string + func (a *AlterPublicationStmt) StatementType() string + func (a *AlterPublicationStmt) String() string + type AlterPublicationType int + const AP_AddObjects + const AP_DropObjects + const AP_SetObjects + const AP_SetOptions + type AlterReplicationSlotCmd struct + Options []*DefElem + SlotName string + func CloneRefOfAlterReplicationSlotCmd(n *AlterReplicationSlotCmd) *AlterReplicationSlotCmd + func NewAlterReplicationSlotCmd(slot string, options []*DefElem) *AlterReplicationSlotCmd + func (n *AlterReplicationSlotCmd) SqlString() string + func (n *AlterReplicationSlotCmd) StatementType() string + type AlterRoleSetStmt struct + Database string + Role *RoleSpec + Setstmt *VariableSetStmt + func CloneRefOfAlterRoleSetStmt(n *AlterRoleSetStmt) *AlterRoleSetStmt + func NewAlterRoleSetStmt(role *RoleSpec, database string, setstmt *VariableSetStmt) *AlterRoleSetStmt + func (arss *AlterRoleSetStmt) SqlString() string + func (arss *AlterRoleSetStmt) StatementType() string + func (arss *AlterRoleSetStmt) String() string + type AlterRoleStmt struct + Action int + Options *NodeList + Role *RoleSpec + func CloneRefOfAlterRoleStmt(n *AlterRoleStmt) *AlterRoleStmt + func NewAlterRoleStmt(role *RoleSpec, options *NodeList) *AlterRoleStmt + func (ars *AlterRoleStmt) SqlString() string + func (ars *AlterRoleStmt) StatementType() string + func (ars *AlterRoleStmt) String() string + type AlterSeqStmt struct + ForIdentity bool + MissingOk bool + Options *NodeList + Sequence *RangeVar + func CloneRefOfAlterSeqStmt(n *AlterSeqStmt) *AlterSeqStmt + func NewAlterSeqStmt(sequence *RangeVar, options *NodeList, forIdentity, missingOk bool) *AlterSeqStmt + func (ass *AlterSeqStmt) SqlString() string + func (ass *AlterSeqStmt) StatementType() string + func (ass *AlterSeqStmt) String() string + type AlterStatsStmt struct + DefNames *NodeList + MissingOk bool + StxStatTarget Node + func CloneRefOfAlterStatsStmt(n *AlterStatsStmt) *AlterStatsStmt + func NewAlterStatsStmt(defnames *NodeList, target Node, missingOk bool) *AlterStatsStmt + func (a *AlterStatsStmt) SqlString() string + func (a *AlterStatsStmt) StatementType() string + func (a *AlterStatsStmt) String() string + type AlterSubscriptionStmt struct + ConnInfo string + Kind AlterSubscriptionType + Options *NodeList + Publication *NodeList + SubName string + func CloneRefOfAlterSubscriptionStmt(n *AlterSubscriptionStmt) *AlterSubscriptionStmt + func NewAlterSubscriptionStmt(name string, kind AlterSubscriptionType, connInfo string, ...) *AlterSubscriptionStmt + func (a *AlterSubscriptionStmt) SqlString() string + func (a *AlterSubscriptionStmt) StatementType() string + func (a *AlterSubscriptionStmt) String() string + type AlterSubscriptionType int + const ALTER_SUBSCRIPTION_ADD_PUBLICATION + const ALTER_SUBSCRIPTION_CONNECTION + const ALTER_SUBSCRIPTION_DROP_PUBLICATION + const ALTER_SUBSCRIPTION_ENABLED + const ALTER_SUBSCRIPTION_OPTIONS + const ALTER_SUBSCRIPTION_REFRESH + const ALTER_SUBSCRIPTION_SET_PUBLICATION + const ALTER_SUBSCRIPTION_SKIP + type AlterSystemStmt struct + Setstmt *VariableSetStmt + func CloneRefOfAlterSystemStmt(n *AlterSystemStmt) *AlterSystemStmt + func NewAlterSystemStmt(setstmt *VariableSetStmt) *AlterSystemStmt + func (ass *AlterSystemStmt) SqlString() string + func (ass *AlterSystemStmt) StatementType() string + func (ass *AlterSystemStmt) String() string + type AlterTSConfigType int + const ALTER_TSCONFIG_ADD_MAPPING + const ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN + const ALTER_TSCONFIG_ALTER_MAPPING_REPLACE + const ALTER_TSCONFIG_DROP_MAPPING + const ALTER_TSCONFIG_REPLACE_DICT + const ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN + func (a AlterTSConfigType) String() string + type AlterTSConfigurationStmt struct + Cfgname *NodeList + Dicts *NodeList + Kind AlterTSConfigType + MissingOk bool + Override bool + Replace bool + Tokentype *NodeList + func CloneRefOfAlterTSConfigurationStmt(n *AlterTSConfigurationStmt) *AlterTSConfigurationStmt + func NewAlterTSConfigurationStmt(kind AlterTSConfigType, cfgname *NodeList) *AlterTSConfigurationStmt + func (n *AlterTSConfigurationStmt) SqlString() string + func (n *AlterTSConfigurationStmt) StatementType() string + func (n *AlterTSConfigurationStmt) String() string + type AlterTSDictionaryStmt struct + Dictname *NodeList + Options *NodeList + func CloneRefOfAlterTSDictionaryStmt(n *AlterTSDictionaryStmt) *AlterTSDictionaryStmt + func NewAlterTSDictionaryStmt(dictname *NodeList, options *NodeList) *AlterTSDictionaryStmt + func (n *AlterTSDictionaryStmt) SqlString() string + func (n *AlterTSDictionaryStmt) StatementType() string + func (n *AlterTSDictionaryStmt) String() string + type AlterTableCmd struct + Behavior DropBehavior + Def Node + MissingOk bool + Name string + Newowner *RoleSpec + Num int16 + Recurse bool + Subtype AlterTableType + func CloneRefOfAlterTableCmd(n *AlterTableCmd) *AlterTableCmd + func NewAddColumnCmd(columnName string, columnDef Node) *AlterTableCmd + func NewAddConstraintCmd(constraint *Constraint) *AlterTableCmd + func NewAlterTableCmd(subtype AlterTableType, name string, def Node) *AlterTableCmd + func NewDropColumnCmd(columnName string, behavior DropBehavior) *AlterTableCmd + func NewDropConstraintCmd(constraintName string, behavior DropBehavior) *AlterTableCmd + func (a *AlterTableCmd) SqlString() string + func (a *AlterTableCmd) SqlStringForCompositeType() string + func (a *AlterTableCmd) String() string + type AlterTableGroupAction int + const AlterTableGroupRename + const AlterTableGroupReshard + type AlterTableGroupStmt struct + Action AlterTableGroupAction + Name string + NewName string + Sources *NodeList + Targets *NodeList + func CloneRefOfAlterTableGroupStmt(n *AlterTableGroupStmt) *AlterTableGroupStmt + func NewAlterTableGroupRename(name, newName string) *AlterTableGroupStmt + func NewAlterTableGroupReshard(name string, sources, targets *NodeList) *AlterTableGroupStmt + func (a *AlterTableGroupStmt) SqlString() string + func (a *AlterTableGroupStmt) StatementType() string + type AlterTableMoveAllStmt struct + NewTablespacename string + Nowait bool + Objtype ObjectType + OrigTablespacename string + Roles *NodeList + func CloneRefOfAlterTableMoveAllStmt(n *AlterTableMoveAllStmt) *AlterTableMoveAllStmt + func NewAlterTableMoveAllStmt(origTablespace string, objtype ObjectType, newTablespace string) *AlterTableMoveAllStmt + func (a *AlterTableMoveAllStmt) SqlString() string + func (a *AlterTableMoveAllStmt) StatementType() string + func (a *AlterTableMoveAllStmt) String() string + type AlterTableSpaceStmt struct + IsReset bool + Options *NodeList + TablespaceName string + func CloneRefOfAlterTableSpaceStmt(n *AlterTableSpaceStmt) *AlterTableSpaceStmt + func NewAlterTableSpaceStmt(name string, options *NodeList, isReset bool) *AlterTableSpaceStmt + func (a *AlterTableSpaceStmt) SqlString() string + func (a *AlterTableSpaceStmt) StatementType() string + func (a *AlterTableSpaceStmt) String() string + type AlterTableStmt struct + Cmds *NodeList + MissingOk bool + Objtype ObjectType + Relation *RangeVar + func CloneRefOfAlterTableStmt(n *AlterTableStmt) *AlterTableStmt + func NewAlterTableStmt(relation *RangeVar, cmds *NodeList) *AlterTableStmt + func (a *AlterTableStmt) SqlString() string + func (a *AlterTableStmt) StatementType() string + func (a *AlterTableStmt) String() string + type AlterTableType int + const AT_AddColumn + const AT_AddColumnToView + const AT_AddConstraint + const AT_AddConstraintRecurse + const AT_AddIdentity + const AT_AddIndex + const AT_AddIndexConstraint + const AT_AddInherit + const AT_AddOf + const AT_AlterColumnGenericOptions + const AT_AlterColumnType + const AT_AlterConstraint + const AT_AttachPartition + const AT_ChangeOwner + const AT_CheckNotNull + const AT_ClusterOn + const AT_ColumnDefault + const AT_CookedColumnDefault + const AT_DetachPartition + const AT_DetachPartitionFinalize + const AT_DisableRowSecurity + const AT_DisableRule + const AT_DisableTrig + const AT_DisableTrigAll + const AT_DisableTrigUser + const AT_DropCluster + const AT_DropColumn + const AT_DropConstraint + const AT_DropExpression + const AT_DropIdentity + const AT_DropInherit + const AT_DropNotNull + const AT_DropOf + const AT_DropOids + const AT_EnableAlwaysRule + const AT_EnableAlwaysTrig + const AT_EnableReplicaRule + const AT_EnableReplicaTrig + const AT_EnableRowSecurity + const AT_EnableRule + const AT_EnableTrig + const AT_EnableTrigAll + const AT_EnableTrigUser + const AT_ForceRowSecurity + const AT_GenericOptions + const AT_NoForceRowSecurity + const AT_ReAddComment + const AT_ReAddConstraint + const AT_ReAddDomainConstraint + const AT_ReAddIndex + const AT_ReAddStatistics + const AT_ReplaceRelOptions + const AT_ReplicaIdentity + const AT_ResetOptions + const AT_ResetRelOptions + const AT_SetAccessMethod + const AT_SetCompression + const AT_SetExpression + const AT_SetIdentity + const AT_SetLogged + const AT_SetNotNull + const AT_SetOptions + const AT_SetRelOptions + const AT_SetStatistics + const AT_SetStorage + const AT_SetTableSpace + const AT_SetUnLogged + const AT_ValidateConstraint + func (a AlterTableType) String() string + type AlterTypeStmt struct + Options *NodeList + TypeName *NodeList + func CloneRefOfAlterTypeStmt(n *AlterTypeStmt) *AlterTypeStmt + func NewAlterTypeStmt(typeName *NodeList, options *NodeList) *AlterTypeStmt + func (a *AlterTypeStmt) SqlString() string + func (a *AlterTypeStmt) StatementType() string + func (a *AlterTypeStmt) String() string + type AlterUserMappingStmt struct + Options *NodeList + Servername string + User *RoleSpec + func CloneRefOfAlterUserMappingStmt(n *AlterUserMappingStmt) *AlterUserMappingStmt + func NewAlterUserMappingStmt(user *RoleSpec, servername string, options *NodeList) *AlterUserMappingStmt + func (a *AlterUserMappingStmt) SqlString() string + func (a *AlterUserMappingStmt) StatementType() string + func (a *AlterUserMappingStmt) String() string + type AlternativeSubPlan struct + Subplans []Expression + func CloneRefOfAlternativeSubPlan(n *AlternativeSubPlan) *AlternativeSubPlan + func NewAlternativeSubPlan(subplans []Expression) *AlternativeSubPlan + func (asp *AlternativeSubPlan) ExpressionType() string + func (asp *AlternativeSubPlan) String() string + type AmType byte + const AMTYPE_INDEX + const AMTYPE_TABLE + type ApplyFunc func(*Cursor) bool + type ArrayCoerceExpr struct + Arg Expression + Coerceformat CoercionForm + Elemexpr Expression + Resultcollid Oid + Resulttype Oid + Resulttypmod int32 + func CloneRefOfArrayCoerceExpr(n *ArrayCoerceExpr) *ArrayCoerceExpr + func NewArrayCoerceExpr(arg, elemexpr Expression, resulttype Oid, coerceformat CoercionForm) *ArrayCoerceExpr + func NewExplicitArrayCoerceExpr(arg, elemexpr Expression, resulttype Oid) *ArrayCoerceExpr + func (ace *ArrayCoerceExpr) ExpressionType() string + func (ace *ArrayCoerceExpr) String() string + type ArrayExpr struct + ArrayCollid Oid + ArrayTypeid Oid + ElementTypeid Oid + Elements *NodeList + Multidims bool + func CloneRefOfArrayExpr(n *ArrayExpr) *ArrayExpr + func NewArrayConstructor(elements *NodeList) *ArrayExpr + func NewArrayExpr(arrayTypeid Oid, elementTypeid Oid, elements *NodeList) *ArrayExpr + func (a *ArrayExpr) ExpressionType() string + func (a *ArrayExpr) SqlString() string + func (a *ArrayExpr) String() string + type AttrNumber int16 + func CloneSliceOfAttrNumber(n []AttrNumber) []AttrNumber + type BaseExpr struct + func CloneBaseExpr(n BaseExpr) BaseExpr + func CloneRefOfBaseExpr(n *BaseExpr) *BaseExpr + func (e *BaseExpr) IsExpr() bool + type BaseNode struct + Loc int + Tag NodeTag + func CloneBaseNode(n BaseNode) BaseNode + func CloneRefOfBaseNode(n *BaseNode) *BaseNode + func (n *BaseNode) Location() int + func (n *BaseNode) NodeTag() NodeTag + func (n *BaseNode) SetLocation(location int) + func (n *BaseNode) SqlString() string + func (n *BaseNode) String() string + type BitString struct + BSVal string + func CloneRefOfBitString(n *BitString) *BitString + func NewBitString(value string) *BitString + func (bs *BitString) ExpressionType() string + func (bs *BitString) IsValue() bool + func (bs *BitString) SqlString() string + func (bs *BitString) String() string + type BoolExpr struct + Args *NodeList + Boolop BoolExprType + func CloneRefOfBoolExpr(n *BoolExpr) *BoolExpr + func NewAndExpr(left, right Node) *BoolExpr + func NewBoolExpr(boolop BoolExprType, args *NodeList) *BoolExpr + func NewNotExpr(arg Node) *BoolExpr + func NewOrExpr(left, right Node) *BoolExpr + func (b *BoolExpr) ExpressionType() string + func (b *BoolExpr) SqlString() string + func (b *BoolExpr) String() string + type BoolExprType int + const AND_EXPR + const NOT_EXPR + const OR_EXPR + func (b BoolExprType) String() string + type BoolTestType int + const IS_FALSE + const IS_NOT_FALSE + const IS_NOT_TRUE + const IS_NOT_UNKNOWN + const IS_TRUE + const IS_UNKNOWN + type Boolean struct + BoolVal bool + func CloneRefOfBoolean(n *Boolean) *Boolean + func NewBoolean(value bool) *Boolean + func (b *Boolean) ExpressionType() string + func (b *Boolean) IsValue() bool + func (b *Boolean) SqlString() string + func (b *Boolean) String() string + type BooleanTest struct + Arg Expression + Booltesttype BoolTestType + func CloneRefOfBooleanTest(n *BooleanTest) *BooleanTest + func NewBooleanTest(arg Expression, booltesttype BoolTestType) *BooleanTest + func NewIsFalseTest(arg Expression) *BooleanTest + func NewIsTrueTest(arg Expression) *BooleanTest + func NewIsUnknownTest(arg Expression) *BooleanTest + func (bt *BooleanTest) ExpressionType() string + func (bt *BooleanTest) SqlString() string + func (bt *BooleanTest) String() string + type CTECycleClause struct + CycleColList *NodeList + CycleMarkCollation Oid + CycleMarkColumn string + CycleMarkDefault Expression + CycleMarkNeop Oid + CycleMarkType Oid + CycleMarkTypmod int32 + CycleMarkValue Expression + CyclePathColumn string + func CloneRefOfCTECycleClause(n *CTECycleClause) *CTECycleClause + func NewCTECycleClause(cycleColList *NodeList, markColumn string, markValue, markDefault Expression, ...) *CTECycleClause + func (cc *CTECycleClause) SqlString() string + type CTEMaterialized int + const CTEMaterializeAlways + const CTEMaterializeDefault + const CTEMaterializeNever + type CTESearchClause struct + SearchBreadthFirst bool + SearchColList *NodeList + SearchSeqColumn string + func CloneRefOfCTESearchClause(n *CTESearchClause) *CTESearchClause + func NewCTESearchClause(searchColList *NodeList, breadthFirst bool, seqColumn string) *CTESearchClause + func (sc *CTESearchClause) SqlString() string + type CallStmt struct + Funccall *FuncCall + func CloneRefOfCallStmt(n *CallStmt) *CallStmt + func NewCallStmt(funccall *FuncCall) *CallStmt + func (n *CallStmt) SqlString() string + func (n *CallStmt) StatementType() string + func (n *CallStmt) String() string + type Cardinality float64 + type CaseExpr struct + Arg Node + Args *NodeList + Casecollid Oid + Casetype Oid + Defresult Node + func CloneRefOfCaseExpr(n *CaseExpr) *CaseExpr + func NewCaseExpr(casetype Oid, arg Node, whens *NodeList, defresult Node) *CaseExpr + func NewSearchedCase(whens *NodeList, defresult Node) *CaseExpr + func NewSimpleCase(expr Node, whens *NodeList, defresult Node) *CaseExpr + func (c *CaseExpr) ExpressionType() string + func (c *CaseExpr) SqlString() string + func (c *CaseExpr) String() string + type CaseTestExpr struct + Collation Oid + TypeId Oid + TypeMod int + func CloneRefOfCaseTestExpr(n *CaseTestExpr) *CaseTestExpr + func NewCaseTestExpr(typeId Oid, typeMod int, collation Oid, location int) *CaseTestExpr + func (c *CaseTestExpr) ExpressionType() string + func (c *CaseTestExpr) String() string + type CaseWhen struct + Expr Node + Result Node + func CloneRefOfCaseWhen(n *CaseWhen) *CaseWhen + func NewCaseWhen(expr Node, result Node) *CaseWhen + func (cw *CaseWhen) ExpressionType() string + func (cw *CaseWhen) String() string + type CheckPointStmt struct + func CloneRefOfCheckPointStmt(n *CheckPointStmt) *CheckPointStmt + func NewCheckPointStmt() *CheckPointStmt + func (cps *CheckPointStmt) SqlString() string + func (cps *CheckPointStmt) StatementType() string + func (cps *CheckPointStmt) String() string + type ClosePortalStmt struct + PortalName string + func CloneRefOfClosePortalStmt(n *ClosePortalStmt) *ClosePortalStmt + func NewClosePortalStmt(portalName string) *ClosePortalStmt + func (cps *ClosePortalStmt) SqlString() string + func (cps *ClosePortalStmt) StatementType() string + func (cps *ClosePortalStmt) String() string + type ClusterStmt struct + Indexname string + Params *NodeList + Relation *RangeVar + func CloneRefOfClusterStmt(n *ClusterStmt) *ClusterStmt + func NewClusterStmt(relation *RangeVar, indexname string, params *NodeList) *ClusterStmt + func (cs *ClusterStmt) SqlString() string + func (cs *ClusterStmt) StatementType() string + func (cs *ClusterStmt) String() string + type CmdType int + const CMD_DELETE + const CMD_INSERT + const CMD_MERGE + const CMD_NOTHING + const CMD_SELECT + const CMD_UNKNOWN + const CMD_UPDATE + const CMD_UTILITY + func (c CmdType) String() string + type CoalesceExpr struct + Args *NodeList + Coalescecollid Oid + Coalescetype Oid + func CloneRefOfCoalesceExpr(n *CoalesceExpr) *CoalesceExpr + func NewCoalesceExpr(coalescetype Oid, args *NodeList) *CoalesceExpr + func (c *CoalesceExpr) ExpressionType() string + func (c *CoalesceExpr) SqlString() string + func (c *CoalesceExpr) String() string + type CoerceToDomain struct + Arg Expression + Coercionformat CoercionForm + Resultcollid Oid + Resulttype Oid + Resulttypmod int32 + func CloneRefOfCoerceToDomain(n *CoerceToDomain) *CoerceToDomain + func NewCoerceToDomain(arg Expression, resulttype Oid, resulttypmod int32, ...) *CoerceToDomain + func (ctd *CoerceToDomain) ExpressionType() string + func (ctd *CoerceToDomain) String() string + type CoerceToDomainValue struct + Collation Oid + TypeId Oid + TypeMod int32 + func CloneRefOfCoerceToDomainValue(n *CoerceToDomainValue) *CoerceToDomainValue + func NewCoerceToDomainValue(typeId Oid, typeMod int32, collation Oid) *CoerceToDomainValue + func (ctdv *CoerceToDomainValue) ExpressionType() string + func (ctdv *CoerceToDomainValue) String() string + type CoerceViaIO struct + Arg Expression + Coerceformat CoercionForm + Resultcollid Oid + Resulttype Oid + func CloneRefOfCoerceViaIO(n *CoerceViaIO) *CoerceViaIO + func NewCoerceViaIO(arg Expression, resulttype Oid, coerceformat CoercionForm) *CoerceViaIO + func NewExplicitCoerceViaIO(arg Expression, resulttype Oid) *CoerceViaIO + func (cvio *CoerceViaIO) ExpressionType() string + func (cvio *CoerceViaIO) String() string + type CoercionContext int + const COERCION_ASSIGNMENT + const COERCION_EXPLICIT + const COERCION_IMPLICIT + const COERCION_PLPGSQL + func (cc CoercionContext) String() string + type CoercionForm int + const COERCE_EXPLICIT_CALL + const COERCE_EXPLICIT_CAST + const COERCE_IMPLICIT_CAST + const COERCE_SQL_SYNTAX + type CollateClause struct + Arg Node + Collname *NodeList + func CloneRefOfCollateClause(n *CollateClause) *CollateClause + func NewCollateClause(collname *NodeList) *CollateClause + func (c *CollateClause) SqlString() string + func (c *CollateClause) String() string + type CollateExpr struct + Arg Expression + CollOid Oid + func CloneRefOfCollateExpr(n *CollateExpr) *CollateExpr + func NewCollateExpr(arg Expression, collOid Oid) *CollateExpr + func (ce *CollateExpr) ExpressionType() string + func (ce *CollateExpr) String() string + type ColumnDef struct + CollOid Oid + Collclause *CollateClause + Colname string + Compression string + Constraints *NodeList + CookedDefault Node + Fdwoptions *NodeList + Generated char + Identity char + IdentitySeq *RangeVar + Inhcount int + IsFromType bool + IsLocal bool + IsNotNull bool + RawDefault Node + StorageName string + StorageType char + TypeName *TypeName + func CloneRefOfColumnDef(n *ColumnDef) *ColumnDef + func NewColumnDef(colname string, typeName *TypeName, location int) *ColumnDef + func (c *ColumnDef) SqlString() string + func (c *ColumnDef) StatementType() string + func (c *ColumnDef) String() string + type ColumnRef struct + Fields *NodeList + func CloneRefOfColumnRef(n *ColumnRef) *ColumnRef + func NewColumnRef(fields ...Node) *ColumnRef + func (c *ColumnRef) ExpressionType() string + func (c *ColumnRef) IsExpr() bool + func (c *ColumnRef) SqlString() string + func (c *ColumnRef) String() string + type CommentStmt struct + Comment string + Object Node + Objtype ObjectType + func CloneRefOfCommentStmt(n *CommentStmt) *CommentStmt + func NewCommentStmt(objtype ObjectType, object Node, comment string) *CommentStmt + func (n *CommentStmt) SqlString() string + func (n *CommentStmt) StatementType() string + func (n *CommentStmt) String() string + type CommonTableExpr struct + Aliascolnames *NodeList + Ctecolcollations []Oid + Ctecolnames *NodeList + Ctecoltypes []Oid + Ctecoltypmods []int32 + Ctematerialized CTEMaterialized + Ctename string + Ctequery Node + Cterecursive bool + Cterefcount int + CycleClause *CTECycleClause + SearchClause *CTESearchClause + func CloneRefOfCommonTableExpr(n *CommonTableExpr) *CommonTableExpr + func CloneSliceOfRefOfCommonTableExpr(n []*CommonTableExpr) []*CommonTableExpr + func NewCommonTableExpr(ctename string, ctequery Node) *CommonTableExpr + func NewRecursiveCommonTableExpr(ctename string, ctequery Node) *CommonTableExpr + func (c *CommonTableExpr) SqlString() string + func (cte *CommonTableExpr) String() string + type CompositeTypeStmt struct + Coldeflist *NodeList + Typevar *RangeVar + func CloneRefOfCompositeTypeStmt(n *CompositeTypeStmt) *CompositeTypeStmt + func NewCompositeTypeStmt(typevar *RangeVar, coldeflist *NodeList) *CompositeTypeStmt + func (cts *CompositeTypeStmt) SqlString() string + func (cts *CompositeTypeStmt) StatementType() string + func (cts *CompositeTypeStmt) String() string + type Const struct + Constbyval bool + Constcollid Oid + Constisnull bool + Constlen int + Consttype Oid + Consttypmod int32 + Constvalue Datum + func CloneRefOfConst(n *Const) *Const + func NewConst(consttype Oid, constvalue Datum, constisnull bool) *Const + func (c *Const) ExpressionType() string + func (c *Const) String() string + type ConstrType int + const CONSTR_ATTR_DEFERRABLE + const CONSTR_ATTR_DEFERRED + const CONSTR_ATTR_IMMEDIATE + const CONSTR_ATTR_NOT_DEFERRABLE + const CONSTR_CHECK + const CONSTR_DEFAULT + const CONSTR_EXCLUSION + const CONSTR_FOREIGN + const CONSTR_GENERATED + const CONSTR_IDENTITY + const CONSTR_NOTNULL + const CONSTR_NULL + const CONSTR_PRIMARY + const CONSTR_UNIQUE + func (c ConstrType) String() string + type Constraint struct + AccessMethod string + Conname string + Contype ConstrType + CookedExpr string + Deferrable bool + Exclusions *NodeList + FkAttrs *NodeList + FkDelAction byte + FkDelSetCols *NodeList + FkMatchtype byte + FkUpdAction byte + GeneratedWhen byte + Including *NodeList + Indexname string + Indexspace string + Inhcount int + Initdeferred bool + InitiallyValid bool + IsNoInherit bool + Keys *NodeList + NullsNotDistinct bool + OldConpfeqop []Oid + OldPktableOid Oid + Options *NodeList + PkAttrs *NodeList + Pktable *RangeVar + RawExpr Node + ResetDefaultTblspc bool + SkipValidation bool + WhereClause Node + func CloneRefOfConstraint(n *Constraint) *Constraint + func CloneSliceOfRefOfConstraint(n []*Constraint) []*Constraint + func NewCheckConstraint(conname string, rawExpr Node) *Constraint + func NewConstraint(contype ConstrType) *Constraint + func NewForeignKeyConstraint(conname string, fkAttrs []string, pktable *RangeVar, pkAttrs []string) *Constraint + func NewNotNullConstraint(conname string) *Constraint + func NewPrimaryKeyConstraint(conname string, keys []string) *Constraint + func NewUniqueConstraint(conname string, keys []string) *Constraint + func NewUniqueConstraintNullsNotDistinct(conname string, keys []string) *Constraint + func (c *Constraint) GetFkAttrs() []string + func (c *Constraint) GetFkDelSetCols() []string + func (c *Constraint) GetIncluding() []string + func (c *Constraint) GetKeys() []string + func (c *Constraint) GetPkAttrs() []string + func (c *Constraint) SqlString() string + func (c *Constraint) String() string + type ConstraintsSetStmt struct + Constraints *NodeList + Deferred bool + func CloneRefOfConstraintsSetStmt(n *ConstraintsSetStmt) *ConstraintsSetStmt + func NewConstraintsSetStmt(constraints *NodeList, deferred bool) *ConstraintsSetStmt + func (n *ConstraintsSetStmt) SqlString() string + func (n *ConstraintsSetStmt) StatementType() string + func (n *ConstraintsSetStmt) String() string + type ConvertRowtypeExpr struct + Arg Expression + Convertformat CoercionForm + Resulttype Oid + func CloneRefOfConvertRowtypeExpr(n *ConvertRowtypeExpr) *ConvertRowtypeExpr + func NewConvertRowtypeExpr(arg Expression, resulttype Oid, convertformat CoercionForm) *ConvertRowtypeExpr + func (crte *ConvertRowtypeExpr) ExpressionType() string + func (crte *ConvertRowtypeExpr) String() string + type CopyStmt struct + Attlist *NodeList + Filename string + IsFrom bool + IsProgram bool + Options *NodeList + Query Node + Relation *RangeVar + WhereClause Node + func CloneRefOfCopyStmt(n *CopyStmt) *CopyStmt + func NewCopyFromStmt(relation *RangeVar, filename string) *CopyStmt + func NewCopyStmt(relation *RangeVar, query Node, isFrom bool) *CopyStmt + func NewCopyToStmt(relation *RangeVar, filename string) *CopyStmt + func (cs *CopyStmt) SqlString() string + func (cs *CopyStmt) StatementType() string + func (cs *CopyStmt) String() string + type CreateAmStmt struct + AmName string + AmType AmType + HandlerName *NodeList + func CloneRefOfCreateAmStmt(n *CreateAmStmt) *CreateAmStmt + func NewCreateAmStmt(name string, amType AmType, handler *NodeList) *CreateAmStmt + func (c *CreateAmStmt) SqlString() string + func (c *CreateAmStmt) StatementType() string + func (c *CreateAmStmt) String() string + type CreateAssertionStmt struct + CheckClause Node + ConstraintAttrSpec *NodeList + Name *NodeList + func CloneRefOfCreateAssertionStmt(n *CreateAssertionStmt) *CreateAssertionStmt + func NewCreateAssertionStmt(name *NodeList, check Node, attrs *NodeList) *CreateAssertionStmt + func (n *CreateAssertionStmt) Location() int + func (n *CreateAssertionStmt) NodeTag() NodeTag + func (n *CreateAssertionStmt) SetLocation(loc int) + func (n *CreateAssertionStmt) SqlString() string + func (n *CreateAssertionStmt) StatementType() string + func (n *CreateAssertionStmt) String() string + type CreateCastStmt struct + Context CoercionContext + Func *ObjectWithArgs + Inout bool + SourceType *TypeName + TargetType *TypeName + func CloneRefOfCreateCastStmt(n *CreateCastStmt) *CreateCastStmt + func NewCreateCastStmt(sourceType, targetType *TypeName, function *ObjectWithArgs, ...) *CreateCastStmt + func (ccs *CreateCastStmt) Location() int + func (ccs *CreateCastStmt) NodeTag() NodeTag + func (ccs *CreateCastStmt) SetLocation(int) + func (ccs *CreateCastStmt) SqlString() string + func (ccs *CreateCastStmt) StatementType() string + func (ccs *CreateCastStmt) String() string + type CreateConnectionStmt struct + IfNotExists bool + Name string + Options *NodeList + func CloneRefOfCreateConnectionStmt(n *CreateConnectionStmt) *CreateConnectionStmt + func NewCreateConnectionStmt(name string, options *NodeList, ifNotExists bool) *CreateConnectionStmt + func (n *CreateConnectionStmt) SqlString() string + func (n *CreateConnectionStmt) StatementType() string + func (n *CreateConnectionStmt) String() string + type CreateConversionStmt struct + ConversionName *NodeList + Def bool + ForEncodingName string + FuncName *NodeList + ToEncodingName string + func CloneRefOfCreateConversionStmt(n *CreateConversionStmt) *CreateConversionStmt + func NewCreateConversionStmt(conversionName *NodeList, forEncodingName, toEncodingName string, ...) *CreateConversionStmt + func (ccs *CreateConversionStmt) SqlString() string + func (ccs *CreateConversionStmt) StatementType() string + func (ccs *CreateConversionStmt) String() string + type CreateDomainStmt struct + CollClause *CollateClause + Constraints *NodeList + Domainname *NodeList + TypeName *TypeName + func CloneRefOfCreateDomainStmt(n *CreateDomainStmt) *CreateDomainStmt + func NewCreateDomainStmt(domainname *NodeList, typeName *TypeName) *CreateDomainStmt + func (c *CreateDomainStmt) SqlString() string + func (c *CreateDomainStmt) StatementType() string + func (c *CreateDomainStmt) String() string + type CreateEnumStmt struct + TypeName *NodeList + Vals *NodeList + func CloneRefOfCreateEnumStmt(n *CreateEnumStmt) *CreateEnumStmt + func NewCreateEnumStmt(typeName *NodeList, vals *NodeList) *CreateEnumStmt + func (ces *CreateEnumStmt) SqlString() string + func (ces *CreateEnumStmt) StatementType() string + func (ces *CreateEnumStmt) String() string + type CreateEventTrigStmt struct + EventName string + FuncName *NodeList + TrigName string + WhenClause *NodeList + func CloneRefOfCreateEventTrigStmt(n *CreateEventTrigStmt) *CreateEventTrigStmt + func NewCreateEventTrigStmt(trigname string, eventname string, funcname *NodeList, whenclause *NodeList) *CreateEventTrigStmt + func (c *CreateEventTrigStmt) SqlString() string + func (c *CreateEventTrigStmt) StatementType() string + func (c *CreateEventTrigStmt) String() string + type CreateExtensionStmt struct + Extname string + IfNotExists bool + Options *NodeList + func CloneRefOfCreateExtensionStmt(n *CreateExtensionStmt) *CreateExtensionStmt + func NewCreateExtensionStmt(extname string, ifNotExists bool, options *NodeList) *CreateExtensionStmt + func (c *CreateExtensionStmt) SqlString() string + func (c *CreateExtensionStmt) StatementType() string + func (c *CreateExtensionStmt) String() string + type CreateFdwStmt struct + FdwName string + FuncOptions *NodeList + Options *NodeList + func CloneRefOfCreateFdwStmt(n *CreateFdwStmt) *CreateFdwStmt + func NewCreateFdwStmt(fdwname string, funcOptions, options *NodeList) *CreateFdwStmt + func (c *CreateFdwStmt) SqlString() string + func (c *CreateFdwStmt) StatementType() string + func (c *CreateFdwStmt) String() string + type CreateForeignServerStmt struct + Fdwname string + IfNotExists bool + Options *NodeList + Servername string + Servertype string + Version string + func CloneRefOfCreateForeignServerStmt(n *CreateForeignServerStmt) *CreateForeignServerStmt + func NewCreateForeignServerStmt(servername, servertype, version, fdwname string, options *NodeList, ...) *CreateForeignServerStmt + func (cfss *CreateForeignServerStmt) SqlString() string + func (cfss *CreateForeignServerStmt) StatementType() string + func (cfss *CreateForeignServerStmt) String() string + type CreateForeignTableStmt struct + Base *CreateStmt + Options *NodeList + Servername string + func CloneRefOfCreateForeignTableStmt(n *CreateForeignTableStmt) *CreateForeignTableStmt + func NewCreateForeignTableStmt(relation *RangeVar, tableElts, inhRelations *NodeList, servername string, ...) *CreateForeignTableStmt + func (cfts *CreateForeignTableStmt) SqlString() string + func (cfts *CreateForeignTableStmt) StatementType() string + func (cfts *CreateForeignTableStmt) String() string + type CreateFunctionStmt struct + FuncName *NodeList + IsProcedure bool + Options *NodeList + Parameters *NodeList + Replace bool + ReturnType *TypeName + SQLBody Node + func CloneRefOfCreateFunctionStmt(n *CreateFunctionStmt) *CreateFunctionStmt + func NewCreateFunctionStmt(isProcedure, replace bool, funcName *NodeList, parameters *NodeList, ...) *CreateFunctionStmt + func (cfs *CreateFunctionStmt) Location() int + func (cfs *CreateFunctionStmt) NodeTag() NodeTag + func (cfs *CreateFunctionStmt) SetLocation(int) + func (cfs *CreateFunctionStmt) SqlString() string + func (cfs *CreateFunctionStmt) StatementType() string + func (cfs *CreateFunctionStmt) String() string + type CreateMigrationStmt struct + Connection string + ForAllTables bool + IfNotExists bool + Name string + Objects *NodeList + Options *NodeList + func CloneRefOfCreateMigrationStmt(n *CreateMigrationStmt) *CreateMigrationStmt + func NewCreateMigrationStmt(name, connection string, tables *MigrationTables, options *NodeList, ...) *CreateMigrationStmt + func (n *CreateMigrationStmt) SqlString() string + func (n *CreateMigrationStmt) StatementType() string + func (n *CreateMigrationStmt) String() string + type CreateOpClassItem struct + ClassArgs *NodeList + ItemType OpClassItemType + Name *ObjectWithArgs + Number int + OrderFamily *NodeList + StoredType *TypeName + func CloneRefOfCreateOpClassItem(n *CreateOpClassItem) *CreateOpClassItem + func NewCreateOpClassItem(itemType OpClassItemType, name *ObjectWithArgs, number int, ...) *CreateOpClassItem + func NewOpClassItemFunction(number int, name *ObjectWithArgs, classArgs *NodeList) *CreateOpClassItem + func NewOpClassItemOperator(number int, name *ObjectWithArgs, orderFamily *NodeList) *CreateOpClassItem + func NewOpClassItemStorage(storedType *TypeName) *CreateOpClassItem + func (oci *CreateOpClassItem) SqlString() string + func (oci *CreateOpClassItem) StatementType() string + func (oci *CreateOpClassItem) String() string + type CreateOpClassStmt struct + AmName string + DataType *TypeName + IsDefault bool + Items *NodeList + OpClassName *NodeList + OpFamilyName *NodeList + func CloneRefOfCreateOpClassStmt(n *CreateOpClassStmt) *CreateOpClassStmt + func NewCreateOpClassStmt(opClassName, opFamilyName *NodeList, amName string, dataType *TypeName, ...) *CreateOpClassStmt + func (cocs *CreateOpClassStmt) NodeTag() NodeTag + func (cocs *CreateOpClassStmt) SqlString() string + func (cocs *CreateOpClassStmt) StatementType() string + func (cocs *CreateOpClassStmt) String() string + type CreateOpFamilyStmt struct + AmName string + OpFamilyName *NodeList + func CloneRefOfCreateOpFamilyStmt(n *CreateOpFamilyStmt) *CreateOpFamilyStmt + func NewCreateOpFamilyStmt(opFamilyName *NodeList, amName string) *CreateOpFamilyStmt + func (cofs *CreateOpFamilyStmt) NodeTag() NodeTag + func (cofs *CreateOpFamilyStmt) SqlString() string + func (cofs *CreateOpFamilyStmt) StatementType() string + func (cofs *CreateOpFamilyStmt) String() string + type CreatePLangStmt struct + PLHandler *NodeList + PLInline *NodeList + PLName string + PLTrusted bool + PLValidator *NodeList + Replace bool + func CloneRefOfCreatePLangStmt(n *CreatePLangStmt) *CreatePLangStmt + func NewCreatePLangStmt(replace bool, plName string, plHandler, plInline, plValidator *NodeList, ...) *CreatePLangStmt + func (cpls *CreatePLangStmt) SqlString() string + func (cpls *CreatePLangStmt) StatementType() string + func (cpls *CreatePLangStmt) String() string + type CreatePolicyStmt struct + CmdName string + Permissive bool + PolicyName string + Qual Node + Roles *NodeList + Table *RangeVar + WithCheck Node + func CloneRefOfCreatePolicyStmt(n *CreatePolicyStmt) *CreatePolicyStmt + func NewCreatePolicyStmt(policyName string, table *RangeVar, permissive bool, cmdName string, ...) *CreatePolicyStmt + func (cps *CreatePolicyStmt) SqlString() string + func (cps *CreatePolicyStmt) StatementType() string + func (cps *CreatePolicyStmt) String() string + type CreatePublicationStmt struct + ForAllTables bool + Options *NodeList + PubName string + PubObjects *NodeList + func CloneRefOfCreatePublicationStmt(n *CreatePublicationStmt) *CreatePublicationStmt + func NewCreatePublicationStmt(name string, objects *NodeList, forAllTables bool, options *NodeList) *CreatePublicationStmt + func (c *CreatePublicationStmt) SqlString() string + func (c *CreatePublicationStmt) StatementType() string + func (c *CreatePublicationStmt) String() string + type CreateRangeStmt struct + Params *NodeList + TypeName *NodeList + func CloneRefOfCreateRangeStmt(n *CreateRangeStmt) *CreateRangeStmt + func NewCreateRangeStmt(typeName *NodeList, params *NodeList) *CreateRangeStmt + func (crs *CreateRangeStmt) SqlString() string + func (crs *CreateRangeStmt) StatementType() string + func (crs *CreateRangeStmt) String() string + type CreateReplicationSlotCmd struct + Kind ReplicationKind + Options []*DefElem + Plugin string + SlotName string + Temporary bool + func CloneRefOfCreateReplicationSlotCmd(n *CreateReplicationSlotCmd) *CreateReplicationSlotCmd + func NewCreateReplicationSlotCmd(slot string, kind ReplicationKind, plugin string, temp bool) *CreateReplicationSlotCmd + func (n *CreateReplicationSlotCmd) SqlString() string + func (n *CreateReplicationSlotCmd) StatementType() string + type CreateRoleStmt struct + Options *NodeList + Role string + StmtType RoleStatementType + func CloneRefOfCreateRoleStmt(n *CreateRoleStmt) *CreateRoleStmt + func NewCreateRoleStmt(stmtType RoleStatementType, role string, options *NodeList) *CreateRoleStmt + func (crs *CreateRoleStmt) SqlString() string + func (crs *CreateRoleStmt) StatementType() string + func (crs *CreateRoleStmt) String() string + type CreateSchemaStmt struct + Authrole *RoleSpec + IfNotExists bool + SchemaElts *NodeList + Schemaname string + func CloneRefOfCreateSchemaStmt(n *CreateSchemaStmt) *CreateSchemaStmt + func NewCreateSchemaStmt(schemaname string, ifNotExists bool) *CreateSchemaStmt + func (c *CreateSchemaStmt) SqlString() string + func (c *CreateSchemaStmt) StatementType() string + func (c *CreateSchemaStmt) String() string + type CreateSeqStmt struct + ForIdentity bool + IfNotExists bool + Options *NodeList + OwnerID Oid + Sequence *RangeVar + func CloneRefOfCreateSeqStmt(n *CreateSeqStmt) *CreateSeqStmt + func NewCreateSeqStmt(sequence *RangeVar, options *NodeList, ownerID Oid, ...) *CreateSeqStmt + func (css *CreateSeqStmt) SqlString() string + func (css *CreateSeqStmt) StatementType() string + func (css *CreateSeqStmt) String() string + type CreateStatsStmt struct + DefNames *NodeList + Exprs *NodeList + IfNotExists bool + Relations *NodeList + StatTypes *NodeList + StxComment string + Transformed bool + func CloneRefOfCreateStatsStmt(n *CreateStatsStmt) *CreateStatsStmt + func NewCreateStatsStmt(defNames *NodeList, statTypes *NodeList, exprs *NodeList, relations *NodeList, ...) *CreateStatsStmt + func (css *CreateStatsStmt) Location() int + func (css *CreateStatsStmt) NodeTag() NodeTag + func (css *CreateStatsStmt) SetLocation(int) + func (css *CreateStatsStmt) SqlString() string + func (css *CreateStatsStmt) StatementType() string + func (css *CreateStatsStmt) String() string + type CreateStmt struct + AccessMethod string + Constraints []*Constraint + IfNotExists bool + InhRelations *NodeList + OfTypename *TypeName + OnCommit OnCommitAction + Options *NodeList + PartBound *PartitionBoundSpec + PartSpec *PartitionSpec + Relation *RangeVar + TableElts *NodeList + TableSpaceName string + func CloneRefOfCreateStmt(n *CreateStmt) *CreateStmt + func NewCreateStmt(relation *RangeVar) *CreateStmt + func (c *CreateStmt) SqlString() string + func (c *CreateStmt) StatementType() string + func (c *CreateStmt) String() string + type CreateSubscriptionStmt struct + ConnInfo string + Options *NodeList + Publication *NodeList + SubName string + func CloneRefOfCreateSubscriptionStmt(n *CreateSubscriptionStmt) *CreateSubscriptionStmt + func NewCreateSubscriptionStmt(name, connInfo string, publication, options *NodeList) *CreateSubscriptionStmt + func (c *CreateSubscriptionStmt) SqlString() string + func (c *CreateSubscriptionStmt) StatementType() string + func (c *CreateSubscriptionStmt) String() string + type CreateTableAsStmt struct + IfNotExists bool + Into *IntoClause + IsSelectInto bool + ObjType ObjectType + Query Node + func CloneRefOfCreateTableAsStmt(n *CreateTableAsStmt) *CreateTableAsStmt + func NewCreateTableAsStmt(query Node, into *IntoClause, objType ObjectType, ...) *CreateTableAsStmt + func (ctas *CreateTableAsStmt) Location() int + func (ctas *CreateTableAsStmt) NodeTag() NodeTag + func (ctas *CreateTableAsStmt) SetLocation(int) + func (ctas *CreateTableAsStmt) SqlString() string + func (ctas *CreateTableAsStmt) StatementType() string + func (ctas *CreateTableAsStmt) String() string + type CreateTableGroupStmt struct + IfNotExists bool + Name string + Shards *NodeList + func CloneRefOfCreateTableGroupStmt(n *CreateTableGroupStmt) *CreateTableGroupStmt + func NewCreateTableGroupStmt(name string, shards *NodeList, ifNotExists bool) *CreateTableGroupStmt + func (c *CreateTableGroupStmt) SqlString() string + func (c *CreateTableGroupStmt) StatementType() string + type CreateTableSpaceStmt struct + LocationPath string + Options *NodeList + Owner *RoleSpec + TablespaceName string + func CloneRefOfCreateTableSpaceStmt(n *CreateTableSpaceStmt) *CreateTableSpaceStmt + func NewCreateTableSpaceStmt(name string, owner *RoleSpec, location string, options *NodeList) *CreateTableSpaceStmt + func (c *CreateTableSpaceStmt) SqlString() string + func (c *CreateTableSpaceStmt) StatementType() string + func (c *CreateTableSpaceStmt) String() string + type CreateTransformStmt struct + FromSql *ObjectWithArgs + Lang string + Replace bool + ToSql *ObjectWithArgs + TypeName *TypeName + func CloneRefOfCreateTransformStmt(n *CreateTransformStmt) *CreateTransformStmt + func NewCreateTransformStmt(replace bool, typeName *TypeName, lang string, fromSql, toSql Node) *CreateTransformStmt + func (cts *CreateTransformStmt) SqlString() string + func (cts *CreateTransformStmt) StatementType() string + func (cts *CreateTransformStmt) String() string + type CreateTriggerStmt struct + Args *NodeList + Columns *NodeList + Constrrel *RangeVar + Deferrable bool + Events int16 + Funcname *NodeList + Initdeferred bool + IsConstraint bool + Relation *RangeVar + Replace bool + Row bool + Timing int16 + Transitions *NodeList + Trigname string + WhenClause Node + func CloneRefOfCreateTriggerStmt(n *CreateTriggerStmt) *CreateTriggerStmt + func NewAfterUpdateTrigger(trigname string, relation *RangeVar, funcname *NodeList) *CreateTriggerStmt + func NewBeforeInsertTrigger(trigname string, relation *RangeVar, funcname *NodeList) *CreateTriggerStmt + func NewConstraintTrigger(trigname string, relation *RangeVar, funcname *NodeList, timing int16, ...) *CreateTriggerStmt + func NewCreateTriggerStmt(trigname string, relation *RangeVar, funcname *NodeList, timing int16, ...) *CreateTriggerStmt + func NewDeferrableConstraintTrigger(trigname string, relation *RangeVar, funcname *NodeList, timing int16, ...) *CreateTriggerStmt + func (cts *CreateTriggerStmt) Location() int + func (cts *CreateTriggerStmt) NodeTag() NodeTag + func (cts *CreateTriggerStmt) SqlString() string + func (cts *CreateTriggerStmt) StatementType() string + func (cts *CreateTriggerStmt) String() string + type CreateUserMappingStmt struct + IfNotExists bool + Options *NodeList + Servername string + User *RoleSpec + func CloneRefOfCreateUserMappingStmt(n *CreateUserMappingStmt) *CreateUserMappingStmt + func NewCreateUserMappingStmt(user *RoleSpec, servername string, options *NodeList, ifNotExists bool) *CreateUserMappingStmt + func (cums *CreateUserMappingStmt) SqlString() string + func (cums *CreateUserMappingStmt) StatementType() string + func (cums *CreateUserMappingStmt) String() string + type CreatedbStmt struct + Dbname string + Options *NodeList + func CloneRefOfCreatedbStmt(n *CreatedbStmt) *CreatedbStmt + func NewCreatedbStmt(dbname string, options *NodeList) *CreatedbStmt + func (c *CreatedbStmt) SqlString() string + func (c *CreatedbStmt) StatementType() string + func (c *CreatedbStmt) String() string + type CurrentOfExpr struct + CursorName string + CursorParam int + Cvarno Index + func CloneRefOfCurrentOfExpr(n *CurrentOfExpr) *CurrentOfExpr + func NewCurrentOfExpr(cvarno Index, cursor_name string) *CurrentOfExpr + func NewCurrentOfExprParam(cvarno Index, cursor_param int) *CurrentOfExpr + func (c *CurrentOfExpr) SqlString() string + func (coe *CurrentOfExpr) ExpressionType() string + func (coe *CurrentOfExpr) String() string + type Cursor struct + func (c *Cursor) Node() Node + func (c *Cursor) Parent() Node + func (c *Cursor) Replace(newNode Node) + func (c *Cursor) ReplaceAndRevisit(newNode Node) + type Datum = datum.Datum + func CloneDatum(n Datum) Datum + func CloneRefOfDatum(n *Datum) *Datum + type DeallocateStmt struct + IsAll bool + Name string + func CloneRefOfDeallocateStmt(n *DeallocateStmt) *DeallocateStmt + func NewDeallocateAllStmt() *DeallocateStmt + func NewDeallocateStmt(name string) *DeallocateStmt + func (ds *DeallocateStmt) SqlString() string + func (ds *DeallocateStmt) StatementType() string + func (ds *DeallocateStmt) String() string + type DeclareCursorStmt struct + Options int + PortalName string + Query Node + func CloneRefOfDeclareCursorStmt(n *DeclareCursorStmt) *DeclareCursorStmt + func NewDeclareCursorStmt(portalName string, options int, query Node) *DeclareCursorStmt + func (dcs *DeclareCursorStmt) SqlString() string + func (dcs *DeclareCursorStmt) StatementType() string + func (dcs *DeclareCursorStmt) String() string + type DefElem struct + Arg Node + Defaction DefElemAction + Defname string + Defnamespace string + func CloneRefOfDefElem(n *DefElem) *DefElem + func CloneSliceOfRefOfDefElem(n []*DefElem) []*DefElem + func NewDefElem(defname string, arg Node) *DefElem + func NewDefElemExtended(defnamespace, defname string, arg Node, action DefElemAction) *DefElem + func (d *DefElem) SqlString() string + func (d *DefElem) SqlStringForFunction() string + func (d *DefElem) String() string + type DefElemAction int + const DEFELEM_ADD + const DEFELEM_DROP + const DEFELEM_SET + const DEFELEM_UNSPEC + func (d DefElemAction) String() string + type DefineStmt struct + Args *NodeList + DefNames *NodeList + Definition *NodeList + IfNotExists bool + Kind ObjectType + OldStyle bool + Replace bool + func CloneRefOfDefineStmt(n *DefineStmt) *DefineStmt + func NewDefineStmt(kind ObjectType, oldStyle bool, defNames *NodeList, args *NodeList, ...) *DefineStmt + func (ds *DefineStmt) SqlString() string + func (ds *DefineStmt) StatementType() string + func (ds *DefineStmt) String() string + type DeleteStmt struct + Relation *RangeVar + ReturningList *NodeList + UsingClause *NodeList + WhereClause Node + WithClause *WithClause + func CloneRefOfDeleteStmt(n *DeleteStmt) *DeleteStmt + func NewDeleteStmt(relation *RangeVar) *DeleteStmt + func (d *DeleteStmt) SqlString() string + func (d *DeleteStmt) StatementType() string + func (d *DeleteStmt) String() string + type DiscardMode int + const DISCARD_ALL + const DISCARD_PLANS + const DISCARD_SEQUENCES + const DISCARD_TEMP + func (d DiscardMode) String() string + type DiscardStmt struct + Target DiscardMode + func CloneRefOfDiscardStmt(n *DiscardStmt) *DiscardStmt + func NewDiscardStmt(target DiscardMode) *DiscardStmt + func (ds *DiscardStmt) SqlString() string + func (ds *DiscardStmt) StatementType() string + func (ds *DiscardStmt) String() string + type DistinctExpr struct + Args *NodeList + Inputcollid Oid + Opcollid Oid + Opfuncid Oid + Opno Oid + Opresulttype Oid + Opretset bool + func CloneRefOfDistinctExpr(n *DistinctExpr) *DistinctExpr + func NewDistinctExpr(opno Oid, opfuncid Oid, opresulttype Oid, args *NodeList) *DistinctExpr + func (d *DistinctExpr) ExpressionType() string + func (d *DistinctExpr) String() string + type DoStmt struct + Args *NodeList + func CloneRefOfDoStmt(n *DoStmt) *DoStmt + func NewDoStmt(args *NodeList) *DoStmt + func (n *DoStmt) SqlString() string + func (n *DoStmt) StatementType() string + func (n *DoStmt) String() string + type DropBehavior int + const DropCascade + const DropRestrict + func (d DropBehavior) String() string + type DropConnectionStmt struct + IfExists bool + Names *NodeList + func CloneRefOfDropConnectionStmt(n *DropConnectionStmt) *DropConnectionStmt + func NewDropConnectionStmt(names *NodeList, ifExists bool) *DropConnectionStmt + func (n *DropConnectionStmt) SqlString() string + func (n *DropConnectionStmt) StatementType() string + func (n *DropConnectionStmt) String() string + type DropMigrationStmt struct + Force bool + IfExists bool + Names *NodeList + Options *NodeList + When *A_Expr + func CloneRefOfDropMigrationStmt(n *DropMigrationStmt) *DropMigrationStmt + func NewDropMigrationStmt(names *NodeList, ifExists bool, behavior *MigrationDropBehavior) *DropMigrationStmt + func (n *DropMigrationStmt) SqlString() string + func (n *DropMigrationStmt) StatementType() string + func (n *DropMigrationStmt) String() string + type DropOwnedStmt struct + Behavior DropBehavior + Roles *NodeList + func CloneRefOfDropOwnedStmt(n *DropOwnedStmt) *DropOwnedStmt + func NewDropOwnedStmt(roles *NodeList, behavior DropBehavior) *DropOwnedStmt + func (d *DropOwnedStmt) SqlString() string + func (d *DropOwnedStmt) StatementType() string + func (d *DropOwnedStmt) String() string + type DropReplicationSlotCmd struct + SlotName string + Wait bool + func CloneRefOfDropReplicationSlotCmd(n *DropReplicationSlotCmd) *DropReplicationSlotCmd + func NewDropReplicationSlotCmd(slot string, wait bool) *DropReplicationSlotCmd + func (n *DropReplicationSlotCmd) SqlString() string + func (n *DropReplicationSlotCmd) StatementType() string + type DropRoleStmt struct + MissingOk bool + Roles *NodeList + func CloneRefOfDropRoleStmt(n *DropRoleStmt) *DropRoleStmt + func NewDropRoleStmt(roles *NodeList, missingOk bool) *DropRoleStmt + func (drs *DropRoleStmt) SqlString() string + func (drs *DropRoleStmt) StatementType() string + func (drs *DropRoleStmt) String() string + type DropStmt struct + Behavior DropBehavior + Concurrent bool + MissingOk bool + Objects *NodeList + RemoveType ObjectType + func CloneRefOfDropStmt(n *DropStmt) *DropStmt + func NewDropStmt(objects *NodeList, removeType ObjectType) *DropStmt + func (d *DropStmt) SqlString() string + func (d *DropStmt) StatementType() string + func (d *DropStmt) String() string + type DropTableSpaceStmt struct + MissingOk bool + Tablespacename string + func CloneRefOfDropTableSpaceStmt(n *DropTableSpaceStmt) *DropTableSpaceStmt + func NewDropTableSpaceStmt(tablespacename string, missingOk bool) *DropTableSpaceStmt + func (d *DropTableSpaceStmt) SqlString() string + func (d *DropTableSpaceStmt) StatementType() string + func (d *DropTableSpaceStmt) String() string + type DropUserMappingStmt struct + MissingOk bool + Servername string + User *RoleSpec + func CloneRefOfDropUserMappingStmt(n *DropUserMappingStmt) *DropUserMappingStmt + func NewDropUserMappingStmt(user *RoleSpec, servername string, missingOk bool) *DropUserMappingStmt + func (d *DropUserMappingStmt) SqlString() string + func (d *DropUserMappingStmt) StatementType() string + func (d *DropUserMappingStmt) String() string + type DropdbStmt struct + Dbname string + MissingOk bool + Options *NodeList + func CloneRefOfDropdbStmt(n *DropdbStmt) *DropdbStmt + func NewDropdbStmt(dbname string, missingOk bool, options *NodeList) *DropdbStmt + func (d *DropdbStmt) SqlString() string + func (d *DropdbStmt) StatementType() string + func (d *DropdbStmt) String() string + type ExecuteStmt struct + Name string + Params *NodeList + func CloneRefOfExecuteStmt(n *ExecuteStmt) *ExecuteStmt + func NewExecuteStmt(name string, params *NodeList) *ExecuteStmt + func (es *ExecuteStmt) SqlString() string + func (es *ExecuteStmt) StatementType() string + func (es *ExecuteStmt) String() string + type ExplainStmt struct + Options *NodeList + Query Node + func CloneRefOfExplainStmt(n *ExplainStmt) *ExplainStmt + func NewExplainStmt(query Node, options *NodeList) *ExplainStmt + func (es *ExplainStmt) SqlString() string + func (es *ExplainStmt) StatementType() string + func (es *ExplainStmt) String() string + type Expr interface + ExpressionType func() string + IsExpr func() bool + func CloneExpr(in Expr) Expr + type Expression interface + ExpressionType func() string + func CloneExpression(in Expression) Expression + func CloneSliceOfExpression(n []Expression) []Expression + type FetchDirection int + const FETCH_ABSOLUTE + const FETCH_BACKWARD + const FETCH_FORWARD + const FETCH_RELATIVE + func (fd FetchDirection) String() string + type FetchStmt struct + Direction FetchDirection + HowMany int64 + IsMove bool + PortalName string + func CloneRefOfFetchStmt(n *FetchStmt) *FetchStmt + func NewFetchStmt(direction FetchDirection, howMany int64, portalName string, isMove bool) *FetchStmt + func (fs *FetchStmt) SqlString() string + func (fs *FetchStmt) StatementType() string + func (fs *FetchStmt) String() string + type FieldSelect struct + Arg Expression + Fieldnum AttrNumber + Resulttype Oid + Resulttypmod int32 + func CloneRefOfFieldSelect(n *FieldSelect) *FieldSelect + func NewFieldSelect(arg Expression, fieldnum AttrNumber, resulttype Oid) *FieldSelect + func (fs *FieldSelect) ExpressionType() string + func (fs *FieldSelect) String() string + type FieldStore struct + Arg Expression + Fieldnums []AttrNumber + Newvals []Expression + Resulttype Oid + func CloneRefOfFieldStore(n *FieldStore) *FieldStore + func NewFieldStore(arg Expression, newvals []Expression, fieldnums []AttrNumber, resulttype Oid) *FieldStore + func NewSingleFieldStore(arg Expression, newval Expression, fieldnum AttrNumber, resulttype Oid) *FieldStore + func (fs *FieldStore) ExpressionType() string + func (fs *FieldStore) String() string + type Float struct + FVal string + func CloneRefOfFloat(n *Float) *Float + func NewFloat(value string) *Float + func (f *Float) ExpressionType() string + func (f *Float) IsValue() bool + func (f *Float) SqlString() string + func (f *Float) String() string + type FromExpr struct + Fromlist *NodeList + Quals Expression + func CloneRefOfFromExpr(n *FromExpr) *FromExpr + func NewFromExpr(fromlist *NodeList, quals Expression) *FromExpr + func (fe *FromExpr) ExpressionType() string + func (fe *FromExpr) String() string + type FuncCall struct + AggDistinct bool + AggFilter Node + AggOrder *NodeList + AggStar bool + AggWithinGroup bool + Args *NodeList + FuncVariadic bool + Funcformat CoercionForm + Funcname *NodeList + Over *WindowDef + func CloneRefOfFuncCall(n *FuncCall) *FuncCall + func NewFuncCall(funcname *NodeList, args *NodeList, location int) *FuncCall + func (f *FuncCall) ExpressionType() string + func (f *FuncCall) IsExpr() bool + func (f *FuncCall) SqlString() string + func (f *FuncCall) String() string + type FuncExpr struct + Args *NodeList + Funccollid Oid + Funcformat CoercionForm + Funcid Oid + Funcresulttype Oid + Funcretset bool + Funcvariadic bool + Inputcollid Oid + func CloneRefOfFuncExpr(n *FuncExpr) *FuncExpr + func NewFuncExpr(funcid Oid, funcresulttype Oid, args *NodeList) *FuncExpr + func (f *FuncExpr) ExpressionType() string + func (f *FuncExpr) String() string + type FunctionParameter struct + ArgType *TypeName + DefExpr Node + Mode FunctionParameterMode + Name string + func CloneRefOfFunctionParameter(n *FunctionParameter) *FunctionParameter + func NewFunctionParameter(name string, argType *TypeName, mode FunctionParameterMode, defExpr Node) *FunctionParameter + func (fp *FunctionParameter) SqlString() string + func (fp *FunctionParameter) String() string + type FunctionParameterMode int + const FUNC_PARAM_DEFAULT + const FUNC_PARAM_IN + const FUNC_PARAM_INOUT + const FUNC_PARAM_OUT + const FUNC_PARAM_TABLE + const FUNC_PARAM_VARIADIC + func (fpm FunctionParameterMode) String() string + type GrantRoleStmt struct + Behavior DropBehavior + GrantedRoles *NodeList + GranteeRoles *NodeList + Grantor *RoleSpec + IsGrant bool + Opt *NodeList + func CloneRefOfGrantRoleStmt(n *GrantRoleStmt) *GrantRoleStmt + func NewGrantRoleStmt(grantedRoles, granteeRoles *NodeList) *GrantRoleStmt + func NewGrantRoleStmtWithOptions(grantedRoles, granteeRoles *NodeList, opt *NodeList) *GrantRoleStmt + func NewRevokeRoleStmt(grantedRoles, granteeRoles *NodeList) *GrantRoleStmt + func (grs *GrantRoleStmt) SqlString() string + func (grs *GrantRoleStmt) StatementType() string + func (grs *GrantRoleStmt) String() string + type GrantStmt struct + Behavior DropBehavior + GrantOption bool + Grantees *NodeList + Grantor *RoleSpec + IsGrant bool + Objects *NodeList + Objtype ObjectType + Privileges *NodeList + Targtype GrantTargetType + func CloneRefOfGrantStmt(n *GrantStmt) *GrantStmt + func NewGrantStmt(objtype ObjectType, objects *NodeList, privileges *NodeList, ...) *GrantStmt + func NewRevokeStmt(objtype ObjectType, objects *NodeList, privileges *NodeList, ...) *GrantStmt + func (gs *GrantStmt) SqlString() string + func (gs *GrantStmt) StatementType() string + func (gs *GrantStmt) String() string + type GrantTargetType int + const ACL_TARGET_ALL_IN_SCHEMA + const ACL_TARGET_DEFAULTS + const ACL_TARGET_OBJECT + func (g GrantTargetType) String() string + type GroupClause struct + Distinct bool + List *NodeList + type GroupingFunc struct + AggLevelsUp Index + Args *NodeList + Cols *NodeList + Refs *NodeList + func CloneRefOfGroupingFunc(n *GroupingFunc) *GroupingFunc + func NewGroupingFunc(args *NodeList, refs, cols *NodeList, aggLevelsUp Index, location int) *GroupingFunc + func (g *GroupingFunc) ExpressionType() string + func (g *GroupingFunc) SqlString() string + func (g *GroupingFunc) String() string + type GroupingSet struct + Content *NodeList + Kind GroupingSetKind + func CloneRefOfGroupingSet(n *GroupingSet) *GroupingSet + func NewGroupingSet(kind GroupingSetKind, content *NodeList, location int) *GroupingSet + func (g *GroupingSet) SqlString() string + func (g *GroupingSet) StatementType() string + func (g *GroupingSet) String() string + type GroupingSetKind int + const GROUPING_SET_CUBE + const GROUPING_SET_EMPTY + const GROUPING_SET_ROLLUP + const GROUPING_SET_SETS + const GROUPING_SET_SIMPLE + type Identifier struct + Name string + func CloneRefOfIdentifier(n *Identifier) *Identifier + func NewIdentifier(name string) *Identifier + func (i *Identifier) ExpressionType() string + func (i *Identifier) String() string + type IdentifySystemCmd struct + func CloneRefOfIdentifySystemCmd(n *IdentifySystemCmd) *IdentifySystemCmd + func NewIdentifySystemCmd() *IdentifySystemCmd + func (n *IdentifySystemCmd) SqlString() string + func (n *IdentifySystemCmd) StatementType() string + type ImportForeignSchemaStmt struct + ListType ImportForeignSchemaType + LocalSchema *String + Options *NodeList + RemoteSchema *String + ServerName *String + TableList *NodeList + func CloneRefOfImportForeignSchemaStmt(n *ImportForeignSchemaStmt) *ImportForeignSchemaStmt + func NewImportForeignSchemaStmt(serverName, remoteSchema, localSchema *String, ...) *ImportForeignSchemaStmt + func (i *ImportForeignSchemaStmt) SqlString() string + func (i *ImportForeignSchemaStmt) StatementType() string + func (i *ImportForeignSchemaStmt) String() string + type ImportForeignSchemaType int + const FDW_IMPORT_SCHEMA_ALL + const FDW_IMPORT_SCHEMA_EXCEPT + const FDW_IMPORT_SCHEMA_LIMIT_TO + func (t ImportForeignSchemaType) String() string + type Index uint32 + func GetWindowFuncRef(expr Node) Index + type IndexElem struct + Collation *NodeList + Expr Node + Indexcolname string + Name string + NullsOrdering SortByNulls + Opclass *NodeList + Opclassopts *NodeList + Ordering SortByDir + func CloneRefOfIndexElem(n *IndexElem) *IndexElem + func NewBtreeIndexElem(columnName string) *IndexElem + func NewDescIndexElem(columnName string) *IndexElem + func NewExpressionIndexElem(expr Node) *IndexElem + func NewIndexElem(name string) *IndexElem + func (i *IndexElem) SqlString() string + func (i *IndexElem) String() string + type IndexStmt struct + AccessMethod string + Concurrent bool + Deferrable bool + ExcludeOpNames *NodeList + Idxcomment string + Idxname string + IfNotExists bool + IndexIncludingParams *NodeList + IndexOid Oid + IndexParams *NodeList + Initdeferred bool + Isconstraint bool + NullsNotDistinct bool + OldCreateSubid uint32 + OldFirstRelfilenodeSubid uint32 + OldNumber uint32 + Options *NodeList + Primary bool + Relation *RangeVar + ResetDefaultTblspc bool + TableSpace string + Transformed bool + Unique bool + WhereClause Node + func CloneRefOfIndexStmt(n *IndexStmt) *IndexStmt + func NewIndexStmt(idxname string, relation *RangeVar, indexParams *NodeList) *IndexStmt + func NewUniqueIndex(idxname string, relation *RangeVar, indexParams *NodeList) *IndexStmt + func (i *IndexStmt) SqlString() string + func (i *IndexStmt) StatementType() string + func (i *IndexStmt) String() string + type InferClause struct + Conname string + IndexElems *NodeList + WhereClause Node + func CloneRefOfInferClause(n *InferClause) *InferClause + func NewInferClause() *InferClause + func (n *InferClause) SqlString() string + func (n *InferClause) String() string + type InferenceElem struct + Expr Node + Infercollid Oid + Inferopclass Oid + func CloneRefOfInferenceElem(n *InferenceElem) *InferenceElem + func NewInferenceElem(expr Node) *InferenceElem + func NewInferenceElemWithCollation(expr Node, infercollid, inferopclass Oid) *InferenceElem + func (ie *InferenceElem) ExpressionType() string + func (ie *InferenceElem) String() string + type InsertStmt struct + Cols *NodeList + OnConflictClause *OnConflictClause + Override OverridingKind + Relation *RangeVar + ReturningList *NodeList + SelectStmt Node + WithClause *WithClause + func CloneRefOfInsertStmt(n *InsertStmt) *InsertStmt + func NewInsertStmt(relation *RangeVar) *InsertStmt + func (i *InsertStmt) SqlString() string + func (i *InsertStmt) StatementType() string + func (i *InsertStmt) String() string + type Integer struct + IVal int + func CloneRefOfInteger(n *Integer) *Integer + func NewInteger(value int) *Integer + func (i *Integer) ExpressionType() string + func (i *Integer) IsValue() bool + func (i *Integer) SqlString() string + func (i *Integer) String() string + type IntoClause struct + AccessMethod string + ColNames *NodeList + OnCommit OnCommitAction + Options *NodeList + Rel *RangeVar + SkipData bool + TableSpaceName string + ViewQuery Node + func CloneRefOfIntoClause(n *IntoClause) *IntoClause + func NewIntoClause(rel *RangeVar, colNames *NodeList, accessMethod string, options *NodeList, ...) *IntoClause + func (i *IntoClause) SqlString() string + func (i *IntoClause) StatementType() string + func (i *IntoClause) String() string + func (i *IntoClause) TargetString() string + type JoinExpr struct + Alias *Alias + IsNatural bool + JoinUsingAlias *Alias + Jointype JoinType + Larg Node + Quals Expression + Rarg Node + Rtindex Index + UsingClause *NodeList + func CloneRefOfJoinExpr(n *JoinExpr) *JoinExpr + func NewJoinExpr(jointype JoinType, larg, rarg Node, quals Expression) *JoinExpr + func NewNaturalJoinExpr(jointype JoinType, larg, rarg Node) *JoinExpr + func NewUsingJoinExpr(jointype JoinType, larg, rarg Node, usingClause *NodeList) *JoinExpr + func (je *JoinExpr) ExpressionType() string + func (je *JoinExpr) SqlString() string + func (je *JoinExpr) String() string + type JoinType int + const JOIN_ANTI + const JOIN_FULL + const JOIN_INNER + const JOIN_LEFT + const JOIN_RIGHT + const JOIN_RIGHT_ANTI + const JOIN_SEMI + const JOIN_UNIQUE_INNER + const JOIN_UNIQUE_OUTER + type JsonAggConstructor struct + AggFilter Node + AggOrder *NodeList + Output *JsonOutput + Over *WindowDef + func CloneRefOfJsonAggConstructor(n *JsonAggConstructor) *JsonAggConstructor + func NewJsonAggConstructor(output *JsonOutput) *JsonAggConstructor + func (n *JsonAggConstructor) SqlString() string + func (n *JsonAggConstructor) String() string + type JsonArgument struct + Name string + Val *JsonValueExpr + func CloneRefOfJsonArgument(n *JsonArgument) *JsonArgument + func NewJsonArgument(val *JsonValueExpr, name string) *JsonArgument + func (n *JsonArgument) SqlString() string + func (n *JsonArgument) String() string + type JsonArrayAgg struct + AbsentOnNull bool + Arg *JsonValueExpr + Constructor *JsonAggConstructor + func CloneRefOfJsonArrayAgg(n *JsonArrayAgg) *JsonArrayAgg + func NewJsonArrayAgg(constructor *JsonAggConstructor, arg *JsonValueExpr, absentOnNull bool) *JsonArrayAgg + func (n *JsonArrayAgg) ExpressionType() string + func (n *JsonArrayAgg) IsExpr() bool + func (n *JsonArrayAgg) SqlString() string + func (n *JsonArrayAgg) String() string + type JsonArrayConstructor struct + AbsentOnNull bool + Exprs *NodeList + Output *JsonOutput + func CloneRefOfJsonArrayConstructor(n *JsonArrayConstructor) *JsonArrayConstructor + func NewJsonArrayConstructor(exprs *NodeList, absentOnNull bool) *JsonArrayConstructor + func (n *JsonArrayConstructor) ExpressionType() string + func (n *JsonArrayConstructor) IsExpr() bool + func (n *JsonArrayConstructor) SqlString() string + func (n *JsonArrayConstructor) String() string + type JsonArrayQueryConstructor struct + AbsentOnNull bool + Format *JsonFormat + Output *JsonOutput + Query Node + func CloneRefOfJsonArrayQueryConstructor(n *JsonArrayQueryConstructor) *JsonArrayQueryConstructor + func NewJsonArrayQueryConstructor(query Node, absentOnNull bool) *JsonArrayQueryConstructor + func (n *JsonArrayQueryConstructor) ExpressionType() string + func (n *JsonArrayQueryConstructor) IsExpr() bool + func (n *JsonArrayQueryConstructor) SqlString() string + func (n *JsonArrayQueryConstructor) String() string + type JsonBehavior struct + Btype JsonBehaviorType + Coerce bool + Expr Node + func CloneRefOfJsonBehavior(n *JsonBehavior) *JsonBehavior + func NewJsonBehavior(btype JsonBehaviorType, expr Node, location int) *JsonBehavior + func (n *JsonBehavior) SqlString() string + func (n *JsonBehavior) String() string + type JsonBehaviorType int + const JSON_BEHAVIOR_DEFAULT + const JSON_BEHAVIOR_EMPTY + const JSON_BEHAVIOR_EMPTY_ARRAY + const JSON_BEHAVIOR_EMPTY_OBJECT + const JSON_BEHAVIOR_ERROR + const JSON_BEHAVIOR_FALSE + const JSON_BEHAVIOR_NULL + const JSON_BEHAVIOR_TRUE + const JSON_BEHAVIOR_UNKNOWN + type JsonConstructorExpr struct + AbsentOnNull bool + Args *NodeList + Coercion Expr + Func Expr + Returning *JsonReturning + Type JsonConstructorType + Unique bool + func CloneRefOfJsonConstructorExpr(n *JsonConstructorExpr) *JsonConstructorExpr + func NewJsonConstructorExpr(constructorType JsonConstructorType, args *NodeList, function, coercion Expr, ...) *JsonConstructorExpr + func (j *JsonConstructorExpr) ExpressionType() string + func (j *JsonConstructorExpr) String() string + type JsonConstructorType int + const JSCTOR_JSON_ARRAY + const JSCTOR_JSON_ARRAYAGG + const JSCTOR_JSON_OBJECT + const JSCTOR_JSON_OBJECTAGG + const JSCTOR_JSON_PARSE + const JSCTOR_JSON_SCALAR + const JSCTOR_JSON_SERIALIZE + type JsonEncoding int + const JS_ENC_DEFAULT + const JS_ENC_UTF16 + const JS_ENC_UTF32 + const JS_ENC_UTF8 + type JsonExpr struct + Collation Oid + ColumnName string + Format *JsonFormat + FormattedExpr Node + OmitQuotes bool + OnEmpty *JsonBehavior + OnError *JsonBehavior + Op JsonExprOp + PassingNames []string + PassingValues *NodeList + PathSpec Node + Returning *JsonReturning + UseIOCoercion bool + UseJsonCoercion bool + Wrapper JsonWrapper + func CloneRefOfJsonExpr(n *JsonExpr) *JsonExpr + func NewJsonExpr(op JsonExprOp, columnName string, formattedExpr Node, format *JsonFormat, ...) *JsonExpr + func (j *JsonExpr) ExpressionType() string + func (j *JsonExpr) String() string + type JsonExprOp int + const JSON_EXISTS_OP + const JSON_QUERY_OP + const JSON_TABLE_OP + const JSON_VALUE_OP + type JsonFormat struct + Encoding JsonEncoding + FormatType JsonFormatType + func CloneRefOfJsonFormat(n *JsonFormat) *JsonFormat + func NewJsonFormat(formatType JsonFormatType, encoding JsonEncoding, location int) *JsonFormat + func (n *JsonFormat) SqlString() string + func (n *JsonFormat) String() string + type JsonFormatType int + const JS_FORMAT_DEFAULT + const JS_FORMAT_JSON + const JS_FORMAT_JSONB + type JsonFuncExpr struct + ColumnName string + ContextItem *JsonValueExpr + OnEmpty *JsonBehavior + OnError *JsonBehavior + Op JsonExprOp + Output *JsonOutput + Passing *NodeList + Pathspec Node + Quotes JsonQuotes + Wrapper JsonWrapper + func CloneRefOfJsonFuncExpr(n *JsonFuncExpr) *JsonFuncExpr + func NewJsonFuncExpr(op JsonExprOp, contextItem *JsonValueExpr, pathspec Node) *JsonFuncExpr + func (n *JsonFuncExpr) ExpressionType() string + func (n *JsonFuncExpr) IsExpr() bool + func (n *JsonFuncExpr) SqlString() string + func (n *JsonFuncExpr) String() string + type JsonIsPredicate struct + Expr Node + Format *JsonFormat + ItemType JsonValueType + UniqueKeys bool + func CloneRefOfJsonIsPredicate(n *JsonIsPredicate) *JsonIsPredicate + func NewJsonIsPredicate(expr Node, format *JsonFormat, itemType JsonValueType, uniqueKeys bool, ...) *JsonIsPredicate + func (j *JsonIsPredicate) SqlString() string + func (j *JsonIsPredicate) String() string + type JsonKeyValue struct + Key Expr + Value *JsonValueExpr + func CloneRefOfJsonKeyValue(n *JsonKeyValue) *JsonKeyValue + func NewJsonKeyValue(key Expr, value *JsonValueExpr) *JsonKeyValue + func (n *JsonKeyValue) SqlString() string + func (n *JsonKeyValue) String() string + type JsonObjectAgg struct + AbsentOnNull bool + Arg *JsonKeyValue + Constructor *JsonAggConstructor + Unique bool + func CloneRefOfJsonObjectAgg(n *JsonObjectAgg) *JsonObjectAgg + func NewJsonObjectAgg(constructor *JsonAggConstructor, arg *JsonKeyValue, absentOnNull bool, ...) *JsonObjectAgg + func (n *JsonObjectAgg) ExpressionType() string + func (n *JsonObjectAgg) IsExpr() bool + func (n *JsonObjectAgg) SqlString() string + func (n *JsonObjectAgg) String() string + type JsonObjectConstructor struct + AbsentOnNull bool + Exprs *NodeList + Output *JsonOutput + Unique bool + func CloneRefOfJsonObjectConstructor(n *JsonObjectConstructor) *JsonObjectConstructor + func NewJsonObjectConstructor(exprs *NodeList, absentOnNull bool, unique bool) *JsonObjectConstructor + func (n *JsonObjectConstructor) ExpressionType() string + func (n *JsonObjectConstructor) IsExpr() bool + func (n *JsonObjectConstructor) SqlString() string + func (n *JsonObjectConstructor) String() string + type JsonOutput struct + Returning *JsonReturning + TypeName *TypeName + func CloneRefOfJsonOutput(n *JsonOutput) *JsonOutput + func NewJsonOutput(typeName *TypeName, returning *JsonReturning) *JsonOutput + func (n *JsonOutput) String() string + type JsonParseExpr struct + Expr *JsonValueExpr + Output *JsonOutput + UniqueKeys bool + func CloneRefOfJsonParseExpr(n *JsonParseExpr) *JsonParseExpr + func NewJsonParseExpr(expr *JsonValueExpr, uniqueKeys bool) *JsonParseExpr + func (n *JsonParseExpr) ExpressionType() string + func (n *JsonParseExpr) IsExpr() bool + func (n *JsonParseExpr) SqlString() string + func (n *JsonParseExpr) String() string + type JsonQuotes int + const JS_QUOTES_KEEP + const JS_QUOTES_OMIT + const JS_QUOTES_UNSPEC + type JsonReturning struct + Format *JsonFormat + Typid Oid + Typmod int32 + func CloneRefOfJsonReturning(n *JsonReturning) *JsonReturning + func NewJsonReturning(format *JsonFormat, typid Oid, typmod int32) *JsonReturning + func (n *JsonReturning) SqlString() string + type JsonScalarExpr struct + Expr Expr + Output *JsonOutput + func CloneRefOfJsonScalarExpr(n *JsonScalarExpr) *JsonScalarExpr + func NewJsonScalarExpr(expr Expr) *JsonScalarExpr + func (n *JsonScalarExpr) ExpressionType() string + func (n *JsonScalarExpr) IsExpr() bool + func (n *JsonScalarExpr) SqlString() string + func (n *JsonScalarExpr) String() string + type JsonSerializeExpr struct + Expr *JsonValueExpr + Output *JsonOutput + func CloneRefOfJsonSerializeExpr(n *JsonSerializeExpr) *JsonSerializeExpr + func NewJsonSerializeExpr(expr *JsonValueExpr) *JsonSerializeExpr + func (n *JsonSerializeExpr) ExpressionType() string + func (n *JsonSerializeExpr) IsExpr() bool + func (n *JsonSerializeExpr) SqlString() string + func (n *JsonSerializeExpr) String() string + type JsonTable struct + Alias *Alias + Columns *NodeList + ContextItem *JsonValueExpr + Lateral bool + OnError *JsonBehavior + Passing *NodeList + Pathspec *JsonTablePathSpec + func CloneRefOfJsonTable(n *JsonTable) *JsonTable + func NewJsonTable(contextItem *JsonValueExpr, pathspec *JsonTablePathSpec) *JsonTable + func (n *JsonTable) SqlString() string + func (n *JsonTable) String() string + type JsonTableColumn struct + Coltype JsonTableColumnType + Columns *NodeList + Format *JsonFormat + Name string + OnEmpty *JsonBehavior + OnError *JsonBehavior + Pathspec *JsonTablePathSpec + Quotes JsonQuotes + TypeName *TypeName + Wrapper JsonWrapper + func CloneRefOfJsonTableColumn(n *JsonTableColumn) *JsonTableColumn + func NewJsonTableColumn(coltype JsonTableColumnType, name string) *JsonTableColumn + func (n *JsonTableColumn) SqlString() string + func (n *JsonTableColumn) String() string + type JsonTableColumnType int + const JTC_EXISTS + const JTC_FORMATTED + const JTC_FOR_ORDINALITY + const JTC_NESTED + const JTC_REGULAR + type JsonTablePath struct + Name string + Value *Const + func CloneRefOfJsonTablePath(n *JsonTablePath) *JsonTablePath + func NewJsonTablePath(value *Const, name string, location int) *JsonTablePath + func (j *JsonTablePath) String() string + type JsonTablePathScan struct + Child *JsonTablePlan + ColMax int + ColMin int + ErrorOnError bool + Path *JsonTablePath + func CloneRefOfJsonTablePathScan(n *JsonTablePathScan) *JsonTablePathScan + func NewJsonTablePathScan(path *JsonTablePath, errorOnError bool, child *JsonTablePlan, ...) *JsonTablePathScan + func (j *JsonTablePathScan) String() string + type JsonTablePathSpec struct + Name string + NameLocation int + StringExpr Node + func CloneRefOfJsonTablePathSpec(n *JsonTablePathSpec) *JsonTablePathSpec + func NewJsonTablePathSpec(str Node, name string, location int) *JsonTablePathSpec + func (n *JsonTablePathSpec) SqlString() string + func (n *JsonTablePathSpec) String() string + type JsonTablePlan struct + func CloneRefOfJsonTablePlan(n *JsonTablePlan) *JsonTablePlan + func NewJsonTablePlan(location int) *JsonTablePlan + func (j *JsonTablePlan) String() string + type JsonTableSiblingJoin struct + Lplan *JsonTablePlan + Rplan *JsonTablePlan + func CloneRefOfJsonTableSiblingJoin(n *JsonTableSiblingJoin) *JsonTableSiblingJoin + func NewJsonTableSiblingJoin(lplan, rplan *JsonTablePlan, location int) *JsonTableSiblingJoin + func (j *JsonTableSiblingJoin) String() string + type JsonValueExpr struct + Format *JsonFormat + FormattedExpr Expr + RawExpr Node + func CloneRefOfJsonValueExpr(n *JsonValueExpr) *JsonValueExpr + func NewJsonValueExpr(rawExpr Node, format *JsonFormat) *JsonValueExpr + func (n *JsonValueExpr) ExpressionType() string + func (n *JsonValueExpr) IsExpr() bool + func (n *JsonValueExpr) SqlString() string + func (n *JsonValueExpr) String() string + type JsonValueType int + const JS_TYPE_ANY + const JS_TYPE_ARRAY + const JS_TYPE_OBJECT + const JS_TYPE_SCALAR + type JsonWrapper int + const JSW_CONDITIONAL + const JSW_NONE + const JSW_UNCONDITIONAL + const JSW_UNSPEC + type KeyAction struct + Action byte + Cols *NodeList + func CloneRefOfKeyAction(n *KeyAction) *KeyAction + func (ka *KeyAction) SqlString() string + type KeyActions struct + DeleteAction *KeyAction + UpdateAction *KeyAction + func CloneRefOfKeyActions(n *KeyActions) *KeyActions + type KeywordCategory int + const ColNameKeyword + const ReservedKeyword + const TypeFuncNameKeyword + const UnreservedKeyword + func LookupKeywordCategory(name string) (KeywordCategory, bool) + func (kc KeywordCategory) String() string + type KeywordClass struct + CanBareLabel bool + Category KeywordCategory + Name string + func LookupKeywordClass(name string) (KeywordClass, bool) + type LimitOption int + const LIMIT_OPTION_COUNT + const LIMIT_OPTION_WITH_TIES + type ListenStmt struct + Conditionname string + func CloneRefOfListenStmt(n *ListenStmt) *ListenStmt + func NewListenStmt(conditionname string) *ListenStmt + func (ls *ListenStmt) SqlString() string + func (ls *ListenStmt) StatementType() string + func (ls *ListenStmt) String() string + type LoadStmt struct + Filename string + func CloneRefOfLoadStmt(n *LoadStmt) *LoadStmt + func NewLoadStmt(filename string) *LoadStmt + func (ls *LoadStmt) SqlString() string + func (ls *LoadStmt) StatementType() string + func (ls *LoadStmt) String() string + type LockClauseStrength int + const LCS_FORKEYSHARE + const LCS_FORNOKEYUPDATE + const LCS_FORSHARE + const LCS_FORUPDATE + const LCS_NONE + type LockMode int + const AccessExclusiveLock + const AccessShareLock + const ExclusiveLock + const NoLock + const RowExclusiveLock + const RowShareLock + const ShareLock + const ShareRowExclusiveLock + const ShareUpdateExclusiveLock + type LockStmt struct + Mode LockMode + Nowait bool + Relations *NodeList + func CloneRefOfLockStmt(n *LockStmt) *LockStmt + func NewLockStmt(relations *NodeList, mode LockMode) *LockStmt + func (n *LockStmt) SqlString() string + func (n *LockStmt) StatementType() string + func (n *LockStmt) String() string + type LockWaitPolicy int + const LockWaitBlock + const LockWaitError + const LockWaitSkip + type LockingClause struct + LockedRels *NodeList + Strength LockClauseStrength + WaitPolicy LockWaitPolicy + func CloneRefOfLockingClause(n *LockingClause) *LockingClause + func NewLockingClause(lockedRels *NodeList, strength LockClauseStrength, waitPolicy LockWaitPolicy, ...) *LockingClause + func (l *LockingClause) SqlString() string + func (l *LockingClause) StatementType() string + func (l *LockingClause) String() string + type MergeAction struct + CommandType CmdType + MatchKind MergeMatchKind + Override OverridingKind + Qual Node + TargetList []*TargetEntry + UpdateColnos []AttrNumber + func CloneRefOfMergeAction(n *MergeAction) *MergeAction + func NewMergeAction(matchKind MergeMatchKind, commandType CmdType, override OverridingKind, ...) *MergeAction + func (m *MergeAction) StatementType() string + func (m *MergeAction) String() string + type MergeMatchKind int + const MERGE_WHEN_MATCHED + const MERGE_WHEN_NOT_MATCHED_BY_SOURCE + const MERGE_WHEN_NOT_MATCHED_BY_TARGET + func (m MergeMatchKind) SqlString() string + func (m MergeMatchKind) String() string + type MergeStmt struct + JoinCondition Node + MergeWhenClauses *NodeList + Relation *RangeVar + ReturningList *NodeList + SourceRelation Node + WithClause *WithClause + func CloneRefOfMergeStmt(n *MergeStmt) *MergeStmt + func NewMergeStmt(relation *RangeVar, sourceRelation Node, joinCondition Node) *MergeStmt + func (m *MergeStmt) SqlString() string + func (n *MergeStmt) StatementType() string + func (n *MergeStmt) String() string + type MergeSupportFunc struct + MsfCollid Oid + MsfType Oid + func CloneRefOfMergeSupportFunc(n *MergeSupportFunc) *MergeSupportFunc + func NewMergeSupportFunc(msfType, msfCollid Oid, location int) *MergeSupportFunc + func (m *MergeSupportFunc) ExpressionType() string + func (m *MergeSupportFunc) SqlString() string + func (m *MergeSupportFunc) String() string + type MergeWhenClause struct + CommandType CmdType + Condition Node + MatchKind MergeMatchKind + Override OverridingKind + TargetList []*ResTarget + Values *NodeList + func CloneRefOfMergeWhenClause(n *MergeWhenClause) *MergeWhenClause + func NewMergeWhenClause(matchKind MergeMatchKind, commandType CmdType) *MergeWhenClause + func (n *MergeWhenClause) SqlString() string + func (n *MergeWhenClause) String() string + type MigrationActionSpec struct + Direction MigrationDirection + Options *NodeList + When *A_Expr + type MigrationDirection int + const MigrationDirectionExport + const MigrationDirectionImport + func (d MigrationDirection) String() string + type MigrationDropBehavior struct + Force bool + Options *NodeList + When *A_Expr + type MigrationTables struct + ForAllTables bool + Objects *NodeList + type MinMaxExpr struct + Args *NodeList + InputCollid Oid + MinMaxCollid Oid + MinMaxType Oid + Op MinMaxOp + func CloneRefOfMinMaxExpr(n *MinMaxExpr) *MinMaxExpr + func NewMinMaxExpr(minMaxType, minMaxCollid, inputCollid Oid, op MinMaxOp, args *NodeList, ...) *MinMaxExpr + func (m *MinMaxExpr) ExpressionType() string + func (m *MinMaxExpr) SqlString() string + func (m *MinMaxExpr) String() string + type MinMaxOp int + const IS_GREATEST + const IS_LEAST + type MultiAssignRef struct + Colno int + Ncolumns int + Source Node + func CloneRefOfMultiAssignRef(n *MultiAssignRef) *MultiAssignRef + func NewMultiAssignRef(source Node, colno, ncolumns int, location int) *MultiAssignRef + func (m *MultiAssignRef) ExpressionType() string + func (m *MultiAssignRef) IsExpr() bool + func (m *MultiAssignRef) SqlString() string + func (m *MultiAssignRef) String() string + type NamedArgExpr struct + Arg Expression + ArgNumber int + Name string + func CloneRefOfNamedArgExpr(n *NamedArgExpr) *NamedArgExpr + func NewNamedArgExpr(arg Expression, name string, argNumber, location int) *NamedArgExpr + func (n *NamedArgExpr) ExpressionType() string + func (n *NamedArgExpr) SqlString() string + func (n *NamedArgExpr) String() string + type NextValueExpr struct + Seqid Oid + TypeId Oid + func CloneRefOfNextValueExpr(n *NextValueExpr) *NextValueExpr + func NewNextValueExpr(seqid, typeId Oid) *NextValueExpr + func (nve *NextValueExpr) ExpressionType() string + func (nve *NextValueExpr) String() string + type Node interface + Location func() int + NodeTag func() NodeTag + SetLocation func(location int) + SqlString func() string + String func() string + func CastNode(v any) Node + func CloneNode(in Node) Node + func CloneSliceOfNode(n []Node) []Node + func FindNodes(root Node, targetTag NodeTag) []Node + func FuncCallArg(fc *FuncCall, positionalIndex int, paramName string) (arg Node, given bool) + func GetAggregateFilter(expr Node) Node + func GetSubLinkTest(expr Node) Node + func GetSubquery(expr Node) Node + func NewQualifiedName(schema, name string) Node + func NewValue(val any) Node + func Rewrite(node Node, pre, post ApplyFunc) (result Node) + type NodeList struct + Items []Node + func CloneRefOfNodeList(n *NodeList) *NodeList + func CloneSliceOfRefOfNodeList(n []*NodeList) []*NodeList + func ExtractArgTypes(funcArgs *NodeList) *NodeList + func GetAggregateArgs(expr Node) *NodeList + func GetAggregateDirectArgs(expr Node) *NodeList + func GetAggregateOrderBy(expr Node) *NodeList + func GetArrayElements(expr Node) *NodeList + func GetExpressionArgs(expr Node) *NodeList + func MergeTableFuncParameters(params *NodeList, tableCols *NodeList) *NodeList + func NewNodeList(items ...Node) *NodeList + func (l *NodeList) Append(node Node) + func (l *NodeList) Len() int + func (l *NodeList) String() string + func (n *NodeList) SqlString() string + type NodeTag int + const T_AConst + const T_A_ArrayExpr + const T_A_Const + const T_A_Expr + const T_A_Indices + const T_A_Indirection + const T_A_Star + const T_AccessPriv + const T_Aggref + const T_AlterCollationStmt + const T_AlterCompositeTypeStmt + const T_AlterDatabaseRefreshCollStmt + const T_AlterDatabaseSetStmt + const T_AlterDatabaseStmt + const T_AlterDefaultPrivilegesStmt + const T_AlterDomainStmt + const T_AlterEnumStmt + const T_AlterEventTrigStmt + const T_AlterExtensionContentsStmt + const T_AlterExtensionStmt + const T_AlterFdwStmt + const T_AlterForeignServerStmt + const T_AlterFunctionStmt + const T_AlterMigrationStmt + const T_AlterObjectDependsStmt + const T_AlterObjectSchemaStmt + const T_AlterOpFamilyStmt + const T_AlterOperatorStmt + const T_AlterOwnerStmt + const T_AlterPolicyStmt + const T_AlterPublicationStmt + const T_AlterReplicationSlotCmd + const T_AlterRoleSetStmt + const T_AlterRoleStmt + const T_AlterSeqStmt + const T_AlterStatsStmt + const T_AlterStmt + const T_AlterSubscriptionStmt + const T_AlterSystemStmt + const T_AlterTSConfigurationStmt + const T_AlterTSDictionaryStmt + const T_AlterTableCmd + const T_AlterTableGroupStmt + const T_AlterTableMoveAllStmt + const T_AlterTableSpaceStmt + const T_AlterTableStmt + const T_AlterTypeStmt + const T_AlterUserMappingStmt + const T_AlternativeSubPlan + const T_ArrayCoerceExpr + const T_ArrayExpr + const T_BitString + const T_BoolExpr + const T_Boolean + const T_BooleanTest + const T_CTECycleClause + const T_CTESearchClause + const T_CallStmt + const T_CaseExpr + const T_CaseTestExpr + const T_CheckPointStmt + const T_ClosePortalStmt + const T_ClusterStmt + const T_CoalesceExpr + const T_CoerceToDomain + const T_CoerceToDomainValue + const T_CoerceViaIO + const T_CollateClause + const T_CollateExpr + const T_ColumnDef + const T_ColumnRef + const T_CommentStmt + const T_CommonTableExpr + const T_CompositeTypeStmt + const T_Const + const T_Constraint + const T_ConstraintsSetStmt + const T_ConvertRowtypeExpr + const T_CopyStmt + const T_CreateAmStmt + const T_CreateAssertionStmt + const T_CreateCastStmt + const T_CreateConnectionStmt + const T_CreateConversionStmt + const T_CreateDomainStmt + const T_CreateEnumStmt + const T_CreateEventTrigStmt + const T_CreateExtensionStmt + const T_CreateFdwStmt + const T_CreateForeignServerStmt + const T_CreateForeignTableStmt + const T_CreateFunctionStmt + const T_CreateMigrationStmt + const T_CreateOpClassItem + const T_CreateOpClassStmt + const T_CreateOpFamilyStmt + const T_CreatePLangStmt + const T_CreatePolicyStmt + const T_CreatePublicationStmt + const T_CreateRangeStmt + const T_CreateReplicationSlotCmd + const T_CreateRoleStmt + const T_CreateSchemaStmt + const T_CreateSeqStmt + const T_CreateStatsStmt + const T_CreateStmt + const T_CreateSubscriptionStmt + const T_CreateTableAsStmt + const T_CreateTableGroupStmt + const T_CreateTableSpaceStmt + const T_CreateTransformStmt + const T_CreateTriggerStmt + const T_CreateUserMappingStmt + const T_CreatedbStmt + const T_CurrentOfExpr + const T_DeallocateStmt + const T_DeclareCursorStmt + const T_DefElem + const T_DefineStmt + const T_DeleteStmt + const T_DiscardStmt + const T_DistinctExpr + const T_DoStmt + const T_DropConnectionStmt + const T_DropMigrationStmt + const T_DropOwnedStmt + const T_DropReplicationSlotCmd + const T_DropRoleStmt + const T_DropStmt + const T_DropTableSpaceStmt + const T_DropUserMappingStmt + const T_DropdbStmt + const T_ExecuteStmt + const T_ExplainStmt + const T_Expr + const T_FetchStmt + const T_FieldSelect + const T_FieldStore + const T_Float + const T_FromExpr + const T_FuncCall + const T_FuncExpr + const T_FunctionParameter + const T_GrantRoleStmt + const T_GrantStmt + const T_GroupingFunc + const T_GroupingSet + const T_IdentifySystemCmd + const T_ImportForeignSchemaStmt + const T_IndexElem + const T_IndexStmt + const T_InferClause + const T_InferenceElem + const T_InsertStmt + const T_Integer + const T_IntoClause + const T_Invalid + const T_JoinExpr + const T_JsonAggConstructor + const T_JsonArgument + const T_JsonArrayAgg + const T_JsonArrayConstructor + const T_JsonArrayQueryConstructor + const T_JsonBehavior + const T_JsonConstructorExpr + const T_JsonExpr + const T_JsonFormat + const T_JsonFuncExpr + const T_JsonIsPredicate + const T_JsonKeyValue + const T_JsonObjectAgg + const T_JsonObjectConstructor + const T_JsonOutput + const T_JsonParseExpr + const T_JsonReturning + const T_JsonScalarExpr + const T_JsonSerializeExpr + const T_JsonTable + const T_JsonTableColumn + const T_JsonTablePath + const T_JsonTablePathScan + const T_JsonTablePathSpec + const T_JsonTablePlan + const T_JsonTableSiblingJoin + const T_JsonValueExpr + const T_List + const T_ListenStmt + const T_LoadStmt + const T_LockStmt + const T_LockingClause + const T_MergeAction + const T_MergeStmt + const T_MergeSupportFunc + const T_MergeWhenClause + const T_MinMaxExpr + const T_MultiAssignRef + const T_NamedArgExpr + const T_NextValueExpr + const T_Node + const T_NotifyStmt + const T_Null + const T_NullIfExpr + const T_NullTest + const T_ObjectWithArgs + const T_OnConflictClause + const T_OnConflictExpr + const T_OpExpr + const T_PLAssignStmt + const T_Param + const T_ParamRef + const T_ParenExpr + const T_PartitionBoundSpec + const T_PartitionCmd + const T_PartitionElem + const T_PartitionRangeDatum + const T_PartitionSpec + const T_PrepareStmt + const T_PublicationObjSpec + const T_PublicationTable + const T_Query + const T_RTEPermissionInfo + const T_RangeFunction + const T_RangeSubselect + const T_RangeTableFunc + const T_RangeTableFuncCol + const T_RangeTableSample + const T_RangeTblEntry + const T_RangeTblFunction + const T_RangeTblRef + const T_RangeVar + const T_RawStmt + const T_ReadReplicationSlotCmd + const T_ReassignOwnedStmt + const T_RefreshMatViewStmt + const T_ReindexStmt + const T_RelabelType + const T_RenameStmt + const T_ReplicaIdentityStmt + const T_ResTarget + const T_ReturnStmt + const T_RoleSpec + const T_RowCompareExpr + const T_RowExpr + const T_RowMarkClause + const T_RuleStmt + const T_SQLValueFunction + const T_ScalarArrayOpExpr + const T_SecLabelStmt + const T_SelectStmt + const T_SetOperationStmt + const T_SetToDefault + const T_ShowConnectionsStmt + const T_SinglePartitionSpec + const T_SortBy + const T_SortGroupClause + const T_StartReplicationCmd + const T_StatsElem + const T_String + const T_SubLink + const T_SubPlan + const T_SubscriptingRef + const T_TableFunc + const T_TableLikeClause + const T_TableSampleClause + const T_TargetEntry + const T_TransactionStmt + const T_TriggerTransition + const T_TruncateStmt + const T_TypeCast + const T_TypeName + const T_UnlistenStmt + const T_UpdateStmt + const T_VacuumRelation + const T_VacuumStmt + const T_Var + const T_VariableSetStmt + const T_VariableShowStmt + const T_ViewStmt + const T_WindowClause + const T_WindowDef + const T_WindowFunc + const T_WindowFuncRunCondition + const T_WithCheckOption + const T_WithClause + const T_XmlExpr + const T_XmlSerialize + func GetExprTag(exprType string) NodeTag + func NodeTagOf(v any) NodeTag + func (nt NodeTag) String() string + type NodeWalker func(Node) bool + type NormalizeResult struct + BindValues []*A_Const + NormalizedAST Stmt + NormalizedSQL string + func Normalize(stmt Stmt) *NormalizeResult + func (r *NormalizeResult) Fingerprint() string + func (r *NormalizeResult) WasNormalized() bool + type NotifyStmt struct + Conditionname string + Payload string + func CloneRefOfNotifyStmt(n *NotifyStmt) *NotifyStmt + func NewNotifyStmt(conditionname, payload string) *NotifyStmt + func (ns *NotifyStmt) SqlString() string + func (ns *NotifyStmt) StatementType() string + func (ns *NotifyStmt) String() string + type Null struct + func CloneRefOfNull(n *Null) *Null + func NewNull() *Null + func (n *Null) ExpressionType() string + func (n *Null) IsValue() bool + func (n *Null) SqlString() string + func (n *Null) String() string + type NullIfExpr struct + Args *NodeList + Inputcollid Oid + Opcollid Oid + Opfuncid Oid + Opno Oid + Opresulttype Oid + Opretset bool + func CloneRefOfNullIfExpr(n *NullIfExpr) *NullIfExpr + func NewNullIfExpr(opno Oid, opfuncid Oid, opresulttype Oid, args *NodeList) *NullIfExpr + func (n *NullIfExpr) ExpressionType() string + func (n *NullIfExpr) String() string + type NullTest struct + Arg Expression + Argisrow bool + Nulltesttype NullTestType + func CloneRefOfNullTest(n *NullTest) *NullTest + func NewIsNotNullTest(arg Expression) *NullTest + func NewIsNullTest(arg Expression) *NullTest + func NewNullTest(arg Expression, nulltesttype NullTestType) *NullTest + func NewRowNullTest(arg Expression, nulltesttype NullTestType) *NullTest + func (nt *NullTest) ExpressionType() string + func (nt *NullTest) SqlString() string + func (nt *NullTest) String() string + type NullTestType int + const IS_NOT_NULL + const IS_NULL + type ObjectType int + const OBJECT_ACCESS_METHOD + const OBJECT_AGGREGATE + const OBJECT_AMOP + const OBJECT_AMPROC + const OBJECT_ATTRIBUTE + const OBJECT_CAST + const OBJECT_COLLATION + const OBJECT_COLUMN + const OBJECT_CONVERSION + const OBJECT_DATABASE + const OBJECT_DEFACL + const OBJECT_DEFAULT + const OBJECT_DOMAIN + const OBJECT_DOMCONSTRAINT + const OBJECT_EVENT_TRIGGER + const OBJECT_EXTENSION + const OBJECT_FDW + const OBJECT_FOREIGN_SERVER + const OBJECT_FOREIGN_TABLE + const OBJECT_FUNCTION + const OBJECT_INDEX + const OBJECT_LANGUAGE + const OBJECT_LARGEOBJECT + const OBJECT_MATVIEW + const OBJECT_OPCLASS + const OBJECT_OPERATOR + const OBJECT_OPFAMILY + const OBJECT_PARAMETER_ACL + const OBJECT_POLICY + const OBJECT_PROCEDURE + const OBJECT_PUBLICATION + const OBJECT_PUBLICATION_NAMESPACE + const OBJECT_PUBLICATION_REL + const OBJECT_ROLE + const OBJECT_ROUTINE + const OBJECT_RULE + const OBJECT_SCHEMA + const OBJECT_SEQUENCE + const OBJECT_STATISTIC_EXT + const OBJECT_SUBSCRIPTION + const OBJECT_TABCONSTRAINT + const OBJECT_TABLE + const OBJECT_TABLEGROUP + const OBJECT_TABLESPACE + const OBJECT_TRANSFORM + const OBJECT_TRIGGER + const OBJECT_TSCONFIGURATION + const OBJECT_TSDICTIONARY + const OBJECT_TSPARSER + const OBJECT_TSTEMPLATE + const OBJECT_TYPE + const OBJECT_USER_MAPPING + const OBJECT_VIEW + func (o ObjectType) String() string + type ObjectWithArgs struct + ArgsUnspecified bool + Objargs *NodeList + ObjfuncArgs *NodeList + Objname *NodeList + func CloneRefOfObjectWithArgs(n *ObjectWithArgs) *ObjectWithArgs + func NewEmptyObjectWithArgs() *ObjectWithArgs + func NewObjectWithArgs(objname *NodeList, objargs *NodeList, argsUnspecified bool, location int) *ObjectWithArgs + func (o *ObjectWithArgs) SqlString() string + func (o *ObjectWithArgs) StatementType() string + func (o *ObjectWithArgs) String() string + type Oid = pgoid.Oid + func ArrayTypeOid(oid Oid) Oid + func CloneSliceOfOid(n []Oid) []Oid + func TypeNameToOid(name string) Oid + type OnCommitAction int + const ONCOMMIT_DELETE_ROWS + const ONCOMMIT_DROP + const ONCOMMIT_NOOP + const ONCOMMIT_PRESERVE_ROWS + type OnConflictAction int + const ONCONFLICT_NONE + const ONCONFLICT_NOTHING + const ONCONFLICT_UPDATE + func (o OnConflictAction) SqlString() string + func (o OnConflictAction) String() string + type OnConflictClause struct + Action OnConflictAction + Infer *InferClause + TargetList *NodeList + WhereClause Node + func CloneRefOfOnConflictClause(n *OnConflictClause) *OnConflictClause + func NewOnConflictClause(action OnConflictAction) *OnConflictClause + func (n *OnConflictClause) SqlString() string + func (n *OnConflictClause) String() string + type OnConflictExpr struct + Action OnConflictAction + ArbiterElems *NodeList + ArbiterWhere Expression + Constraint Oid + ExclRelIndex int + ExclRelTlist *NodeList + OnConflictSet *NodeList + OnConflictWhere Expression + func CloneRefOfOnConflictExpr(n *OnConflictExpr) *OnConflictExpr + func NewOnConflictDoNothing() *OnConflictExpr + func NewOnConflictDoUpdate(onConflictSet *NodeList) *OnConflictExpr + func NewOnConflictExpr(action OnConflictAction) *OnConflictExpr + func (oce *OnConflictExpr) ExpressionType() string + func (oce *OnConflictExpr) String() string + type OpClassItemType int + const OPCLASS_ITEM_FUNCTION + const OPCLASS_ITEM_OPERATOR + const OPCLASS_ITEM_STORAGETYPE + type OpExpr struct + Args *NodeList + Inputcollid Oid + Opcollid Oid + Opfuncid Oid + Opno Oid + Opresulttype Oid + Opretset bool + func CloneRefOfOpExpr(n *OpExpr) *OpExpr + func NewBinaryOp(opno Oid, left, right Node) *OpExpr + func NewOpExpr(opno Oid, opfuncid Oid, opresulttype Oid, args *NodeList) *OpExpr + func NewUnaryOp(opno Oid, arg Node) *OpExpr + func (o *OpExpr) ExpressionType() string + func (o *OpExpr) String() string + type OverridingKind int + const OVERRIDING_NOT_SET + const OVERRIDING_SYSTEM_VALUE + const OVERRIDING_USER_VALUE + func (o OverridingKind) SqlString() string + func (o OverridingKind) String() string + type PLAssignStmt struct + Indirection *NodeList + Name string + Nnames int + Val *SelectStmt + func CloneRefOfPLAssignStmt(n *PLAssignStmt) *PLAssignStmt + func NewPLAssignStmt(name string, val *SelectStmt) *PLAssignStmt + func (n *PLAssignStmt) SqlString() string + func (n *PLAssignStmt) StatementType() string + func (n *PLAssignStmt) String() string + type Param struct + Paramcollid Oid + Paramid int + Paramkind ParamKind + Paramtype Oid + Paramtypmod int32 + func CloneRefOfParam(n *Param) *Param + func NewParam(paramkind ParamKind, paramid int, paramtype Oid) *Param + func (p *Param) ExpressionType() string + func (p *Param) String() string + type ParamKind int + const PARAM_EXEC + const PARAM_EXTERN + const PARAM_MULTIEXPR + const PARAM_SUBLINK + type ParamRef struct + Number int + func CloneRefOfParamRef(n *ParamRef) *ParamRef + func NewParamRef(number int, location int) *ParamRef + func (p *ParamRef) ExpressionType() string + func (p *ParamRef) IsExpr() bool + func (p *ParamRef) SqlString() string + func (p *ParamRef) String() string + type ParenExpr struct + Expr Node + func CloneRefOfParenExpr(n *ParenExpr) *ParenExpr + func NewParenExpr(expr Node, location int) *ParenExpr + func (p *ParenExpr) ExpressionType() string + func (p *ParenExpr) IsExpr() bool + func (p *ParenExpr) SqlString() string + func (p *ParenExpr) String() string + type PartitionBoundSpec struct + HighDatums *NodeList + IsDefault bool + ListDatums *NodeList + LowDatums *NodeList + Modulus int + Remainder int + Strategy PartitionStrategy + func CloneRefOfPartitionBoundSpec(n *PartitionBoundSpec) *PartitionBoundSpec + func NewDefaultPartitionBound() *PartitionBoundSpec + func NewHashPartitionBound(modulus, remainder int) *PartitionBoundSpec + func NewListPartitionBound(listDatums *NodeList) *PartitionBoundSpec + func NewPartitionBoundSpec(strategy PartitionStrategy) *PartitionBoundSpec + func NewRangePartitionBound(lowDatums, highDatums *NodeList) *PartitionBoundSpec + func (pbs *PartitionBoundSpec) SqlString() string + func (pbs *PartitionBoundSpec) String() string + type PartitionCmd struct + Bound *PartitionBoundSpec + Concurrent bool + Name *RangeVar + func CloneRefOfPartitionCmd(n *PartitionCmd) *PartitionCmd + func NewPartitionCmd(name *RangeVar, bound *PartitionBoundSpec, concurrent bool, location int) *PartitionCmd + func (p *PartitionCmd) SqlString() string + func (p *PartitionCmd) StatementType() string + func (p *PartitionCmd) String() string + type PartitionElem struct + Collation *NodeList + Expr Node + Name string + Opclass *NodeList + func CloneRefOfPartitionElem(n *PartitionElem) *PartitionElem + func NewPartitionElem(name string, expr Node, location int) *PartitionElem + func (p *PartitionElem) SqlString() string + func (p *PartitionElem) StatementType() string + func (p *PartitionElem) String() string + type PartitionRangeDatum struct + Kind PartitionRangeDatumKind + Value Node + func CloneRefOfPartitionRangeDatum(n *PartitionRangeDatum) *PartitionRangeDatum + func NewMaxValueDatum() *PartitionRangeDatum + func NewMinValueDatum() *PartitionRangeDatum + func NewPartitionRangeDatum(kind PartitionRangeDatumKind, value Node) *PartitionRangeDatum + func NewValueDatum(value Node) *PartitionRangeDatum + func (prd *PartitionRangeDatum) String() string + type PartitionRangeDatumKind int + const PARTITION_RANGE_DATUM_MAXVALUE + const PARTITION_RANGE_DATUM_MINVALUE + const PARTITION_RANGE_DATUM_VALUE + type PartitionSpec struct + PartParams *NodeList + Strategy PartitionStrategy + func CloneRefOfPartitionSpec(n *PartitionSpec) *PartitionSpec + func NewHashPartitionSpec(partParams *NodeList) *PartitionSpec + func NewListPartitionSpec(partParams *NodeList) *PartitionSpec + func NewPartitionSpec(strategy PartitionStrategy, partParams *NodeList) *PartitionSpec + func NewRangePartitionSpec(partParams *NodeList) *PartitionSpec + func (ps *PartitionSpec) SqlString() string + func (ps *PartitionSpec) String() string + type PartitionStrategy string + const PARTITION_STRATEGY_HASH + const PARTITION_STRATEGY_LIST + const PARTITION_STRATEGY_RANGE + type PrepareStmt struct + Argtypes *NodeList + Name string + Query Node + func CloneRefOfPrepareStmt(n *PrepareStmt) *PrepareStmt + func NewPrepareStmt(name string, argtypes *NodeList, query Node) *PrepareStmt + func (ps *PrepareStmt) SqlString() string + func (ps *PrepareStmt) StatementType() string + func (ps *PrepareStmt) String() string + type PublicationObjSpec struct + Name string + PubObjType PublicationObjSpecType + PubTable *PublicationTable + func CloneRefOfPublicationObjSpec(n *PublicationObjSpec) *PublicationObjSpec + func NewPublicationObjSpec(objType PublicationObjSpecType) *PublicationObjSpec + func NewPublicationObjSpecName(objType PublicationObjSpecType, name string) *PublicationObjSpec + func NewPublicationObjSpecTable(objType PublicationObjSpecType, pubTable *PublicationTable) *PublicationObjSpec + type PublicationObjSpecType int + const PUBLICATIONOBJ_CONTINUATION + const PUBLICATIONOBJ_TABLE + const PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA + const PUBLICATIONOBJ_TABLES_IN_SCHEMA + type PublicationTable struct + Columns *NodeList + Relation *RangeVar + WhereClause Node + func CloneRefOfPublicationTable(n *PublicationTable) *PublicationTable + func NewPublicationTable(relation *RangeVar, whereClause Node, columns *NodeList) *PublicationTable + type Query struct + CanSetTag bool + CommandType CmdType + ConstraintDeps []Oid + CteList []*CommonTableExpr + DistinctClause []*SortGroupClause + GroupClause []*SortGroupClause + GroupDistinct bool + GroupingSets *NodeList + HasAggs bool + HasDistinctOn bool + HasForUpdate bool + HasModifyingCTE bool + HasRecursive bool + HasRowSecurity bool + HasSubLinks bool + HasTargetSRFs bool + HasWindowFuncs bool + HavingQual Node + IsReturn bool + Jointree *FromExpr + LimitCount Node + LimitOffset Node + LimitOption LimitOption + MergeActionList *NodeList + MergeJoinCondition Node + MergeTargetRelation int + OnConflict *OnConflictExpr + Override OverridingKind + QueryId uint64 + QuerySource QuerySource + ResultRelation int + ReturningList []*TargetEntry + RowMarks []*RowMarkClause + Rtable []*RangeTblEntry + RtePermInfos *NodeList + SetOperations Node + SortClause []*SortGroupClause + StmtLen int + StmtLocation int + TargetList []*TargetEntry + UtilityStmt Node + WindowClause []*WindowClause + WithCheckOptions *NodeList + func CloneRefOfQuery(n *Query) *Query + func NewQuery(cmdType CmdType) *Query + func (q *Query) StatementType() string + func (q *Query) String() string + type QuerySource int + const QSRC_INSTEAD_RULE + const QSRC_NON_INSTEAD_RULE + const QSRC_ORIGINAL + const QSRC_PARSER + const QSRC_QUAL_INSTEAD_RULE + type RTEKind int + const RTE_CTE + const RTE_FUNCTION + const RTE_JOIN + const RTE_NAMEDTUPLESTORE + const RTE_RELATION + const RTE_RESULT + const RTE_SUBQUERY + const RTE_TABLEFUNC + const RTE_VALUES + func (k RTEKind) String() string + type RTEPermissionInfo struct + CheckAsUser Oid + Inh bool + InsertedCols []int + Relid Oid + RequiredPerms AclMode + SelectedCols []int + UpdatedCols []int + func CloneRefOfRTEPermissionInfo(n *RTEPermissionInfo) *RTEPermissionInfo + func NewRTEPermissionInfo(relid Oid, inh bool, requiredPerms AclMode, checkAsUser Oid) *RTEPermissionInfo + func (r *RTEPermissionInfo) StatementType() string + func (r *RTEPermissionInfo) String() string + type RangeFunction struct + Alias *Alias + ColDefList *NodeList + Functions *NodeList + IsRowsFrom bool + Lateral bool + Ordinality bool + func CloneRefOfRangeFunction(n *RangeFunction) *RangeFunction + func NewRangeFunction(lateral, ordinality, isRowsFrom bool, functions *NodeList, alias *Alias, ...) *RangeFunction + func (r *RangeFunction) SqlString() string + func (r *RangeFunction) StatementType() string + func (r *RangeFunction) String() string + type RangeSubselect struct + Alias *Alias + Lateral bool + Subquery Node + func CloneRefOfRangeSubselect(n *RangeSubselect) *RangeSubselect + func NewRangeSubselect(lateral bool, subquery Node, alias *Alias) *RangeSubselect + func (r *RangeSubselect) SqlString() string + func (r *RangeSubselect) StatementType() string + func (r *RangeSubselect) String() string + type RangeTableFunc struct + Alias *Alias + Columns *NodeList + DocExpr Node + Lateral bool + Namespaces *NodeList + RowExpr Node + func CloneRefOfRangeTableFunc(n *RangeTableFunc) *RangeTableFunc + func NewRangeTableFunc(lateral bool, docExpr, rowExpr Node, namespaces, columns *NodeList, ...) *RangeTableFunc + func (r *RangeTableFunc) SqlString() string + func (r *RangeTableFunc) StatementType() string + func (r *RangeTableFunc) String() string + type RangeTableFuncCol struct + ColDefExpr Node + ColExpr Node + ColName string + ForOrdinality bool + IsNotNull bool + TypeName *TypeName + func CloneRefOfRangeTableFuncCol(n *RangeTableFuncCol) *RangeTableFuncCol + func NewRangeTableFuncCol(colName string, typeName *TypeName, forOrdinality, isNotNull bool, ...) *RangeTableFuncCol + func (r *RangeTableFuncCol) SqlString() string + func (r *RangeTableFuncCol) StatementType() string + func (r *RangeTableFuncCol) String() string + type RangeTableSample struct + Args *NodeList + Method *NodeList + Relation Node + Repeatable Node + func CloneRefOfRangeTableSample(n *RangeTableSample) *RangeTableSample + func NewRangeTableSample(relation Node, method, args *NodeList, repeatable Node, location int) *RangeTableSample + func (r *RangeTableSample) SqlString() string + func (r *RangeTableSample) StatementType() string + func (r *RangeTableSample) String() string + type RangeTblEntry struct + Alias *Alias + ColCollations []Oid + ColTypMods []int + ColTypes []Oid + CteLevelsUp Index + CteName string + EnrName string + EnrTuples Cardinality + Eref *Alias + FuncOrdinality bool + Functions []*RangeTblFunction + InFromCl bool + Inh bool + JoinAliasVars *NodeList + JoinLeftCols []int + JoinMergedCols int + JoinRightCols []int + JoinType JoinType + JoinUsingAlias *Alias + Lateral bool + PermInfoIndex int + RelKind byte + RelLockMode int + Relid Oid + RteKind RTEKind + SecurityBarrier bool + SecurityQuals *NodeList + SelfReference bool + Subquery *Query + TableFunc *TableFunc + TableSample *TableSampleClause + ValuesLists []*NodeList + func CloneRefOfRangeTblEntry(n *RangeTblEntry) *RangeTblEntry + func CloneSliceOfRefOfRangeTblEntry(n []*RangeTblEntry) []*RangeTblEntry + func NewRangeTblEntry(rteKind RTEKind, alias *Alias) *RangeTblEntry + func (r *RangeTblEntry) StatementType() string + func (r *RangeTblEntry) String() string + type RangeTblFunction struct + FuncColCollations []Oid + FuncColCount int + FuncColNames []string + FuncColTypMods []int + FuncColTypes []Oid + FuncExpr Node + FuncParams []int + func CloneRefOfRangeTblFunction(n *RangeTblFunction) *RangeTblFunction + func CloneSliceOfRefOfRangeTblFunction(n []*RangeTblFunction) []*RangeTblFunction + func NewRangeTblFunction(funcExpr Node, funcColCount int) *RangeTblFunction + func (r *RangeTblFunction) StatementType() string + func (r *RangeTblFunction) String() string + type RangeTblRef struct + RtIndex int + func CloneRefOfRangeTblRef(n *RangeTblRef) *RangeTblRef + func NewRangeTblRef(rtIndex int) *RangeTblRef + func (r *RangeTblRef) ExpressionType() string + func (r *RangeTblRef) String() string + type RangeVar struct + Alias *Alias + CatalogName string + Inh bool + RelName string + RelPersistence rune + SchemaName string + func CloneRefOfRangeVar(n *RangeVar) *RangeVar + func NewRangeVar(relName string, schemaName, catalogName string) *RangeVar + func (r *RangeVar) SqlString() string + func (rv *RangeVar) StatementType() string + func (rv *RangeVar) String() string + type RawStmt struct + Stmt Stmt + StmtLen int + StmtLocation int + func CloneRefOfRawStmt(n *RawStmt) *RawStmt + func NewRawStmt(stmt Stmt, location int, length int) *RawStmt + func (r *RawStmt) StatementType() string + func (r *RawStmt) String() string + type ReadReplicationSlotCmd struct + SlotName string + func CloneRefOfReadReplicationSlotCmd(n *ReadReplicationSlotCmd) *ReadReplicationSlotCmd + func NewReadReplicationSlotCmd(slot string) *ReadReplicationSlotCmd + func (n *ReadReplicationSlotCmd) SqlString() string + func (n *ReadReplicationSlotCmd) StatementType() string + type ReassignOwnedStmt struct + Newrole *RoleSpec + Roles *NodeList + func CloneRefOfReassignOwnedStmt(n *ReassignOwnedStmt) *ReassignOwnedStmt + func NewReassignOwnedStmt(roles *NodeList, newrole *RoleSpec) *ReassignOwnedStmt + func (r *ReassignOwnedStmt) SqlString() string + func (r *ReassignOwnedStmt) StatementType() string + func (r *ReassignOwnedStmt) String() string + type RefreshMatViewStmt struct + Concurrent bool + Relation *RangeVar + SkipData bool + func CloneRefOfRefreshMatViewStmt(n *RefreshMatViewStmt) *RefreshMatViewStmt + func NewRefreshMatViewStmt(concurrent, skipData bool, relation *RangeVar) *RefreshMatViewStmt + func (rmvs *RefreshMatViewStmt) Location() int + func (rmvs *RefreshMatViewStmt) NodeTag() NodeTag + func (rmvs *RefreshMatViewStmt) SetLocation(int) + func (rmvs *RefreshMatViewStmt) SqlString() string + func (rmvs *RefreshMatViewStmt) StatementType() string + func (rmvs *RefreshMatViewStmt) String() string + type ReindexObjectType int + const REINDEX_OBJECT_DATABASE + const REINDEX_OBJECT_INDEX + const REINDEX_OBJECT_SCHEMA + const REINDEX_OBJECT_SYSTEM + const REINDEX_OBJECT_TABLE + func (r ReindexObjectType) String() string + type ReindexStmt struct + Kind ReindexObjectType + Name string + Params *NodeList + Relation *RangeVar + func CloneRefOfReindexStmt(n *ReindexStmt) *ReindexStmt + func NewReindexDatabaseStmt(name string) *ReindexStmt + func NewReindexIndexStmt(relation *RangeVar) *ReindexStmt + func NewReindexStmt(kind ReindexObjectType, relation *RangeVar, name string, params *NodeList) *ReindexStmt + func NewReindexTableStmt(relation *RangeVar) *ReindexStmt + func (rs *ReindexStmt) SqlString() string + func (rs *ReindexStmt) StatementType() string + func (rs *ReindexStmt) String() string + type RelabelType struct + Arg Expression + Relabelformat CoercionForm + Resultcollid Oid + Resulttype Oid + Resulttypmod int32 + func CloneRefOfRelabelType(n *RelabelType) *RelabelType + func NewExplicitRelabelType(arg Expression, resulttype Oid) *RelabelType + func NewImplicitRelabelType(arg Expression, resulttype Oid) *RelabelType + func NewRelabelType(arg Expression, resulttype Oid, resulttypmod int32, relabelformat CoercionForm) *RelabelType + func (rt *RelabelType) ExpressionType() string + func (rt *RelabelType) String() string + type RenameStmt struct + Behavior DropBehavior + MissingOk bool + Newname string + Object Node + Relation *RangeVar + RelationType ObjectType + RenameType ObjectType + Subname string + func CloneRefOfRenameStmt(n *RenameStmt) *RenameStmt + func NewRenameStmt(renameType ObjectType, newname string) *RenameStmt + func (n *RenameStmt) SqlString() string + func (n *RenameStmt) StatementType() string + func (n *RenameStmt) String() string + type ReplicaIdentityStmt struct + IdentityType rune + Name string + func CloneRefOfReplicaIdentityStmt(n *ReplicaIdentityStmt) *ReplicaIdentityStmt + func NewReplicaIdentityStmt(identityType rune, name string) *ReplicaIdentityStmt + func (r *ReplicaIdentityStmt) SqlString() string + func (r *ReplicaIdentityStmt) StatementType() string + func (r *ReplicaIdentityStmt) String() string + type ReplicationKind int + const ReplicationKindLogical + const ReplicationKindPhysical + type ResTarget struct + Indirection *NodeList + Name string + Val Node + func CloneRefOfResTarget(n *ResTarget) *ResTarget + func CloneSliceOfRefOfResTarget(n []*ResTarget) []*ResTarget + func NewResTarget(name string, val Node) *ResTarget + func NewResTargetWithIndirection(name string, indirection *NodeList) *ResTarget + func (r *ResTarget) ColumnNameWithIndirection() string + func (r *ResTarget) SetClauseString() string + func (r *ResTarget) SqlString() string + func (rt *ResTarget) ExpressionType() string + func (rt *ResTarget) String() string + type ReturnStmt struct + ReturnVal Node + func CloneRefOfReturnStmt(n *ReturnStmt) *ReturnStmt + func NewReturnStmt(returnVal Node) *ReturnStmt + func (n *ReturnStmt) SqlString() string + func (n *ReturnStmt) StatementType() string + func (n *ReturnStmt) String() string + type RoleSpec struct + Rolename string + Roletype RoleSpecType + func CloneRefOfRoleSpec(n *RoleSpec) *RoleSpec + func NewRoleSpec(roletype RoleSpecType, rolename string) *RoleSpec + func (r *RoleSpec) SqlString() string + func (r *RoleSpec) String() string + type RoleSpecType int + const ROLESPEC_CSTRING + const ROLESPEC_CURRENT_ROLE + const ROLESPEC_CURRENT_USER + const ROLESPEC_PUBLIC + const ROLESPEC_SESSION_USER + func (r RoleSpecType) String() string + type RoleStatementType int + const ROLESTMT_GROUP + const ROLESTMT_ROLE + const ROLESTMT_USER + func (r RoleStatementType) String() string + type RootNode struct + func CloneRefOfRootNode(n *RootNode) *RootNode + func CloneRootNode(n RootNode) RootNode + type RowCompareExpr struct + InputCollids []Oid + Largs []Expression + Opfamilies []Oid + Opnos []Oid + Rargs []Expression + Rctype RowCompareType + func CloneRefOfRowCompareExpr(n *RowCompareExpr) *RowCompareExpr + func NewRowCompareExpr(rctype RowCompareType, opnos, opfamilies, inputCollids []Oid, ...) *RowCompareExpr + func (r *RowCompareExpr) ExpressionType() string + func (r *RowCompareExpr) String() string + type RowCompareType int + const ROWCOMPARE_EQ + const ROWCOMPARE_GE + const ROWCOMPARE_GT + const ROWCOMPARE_LE + const ROWCOMPARE_LT + const ROWCOMPARE_NE + type RowExpr struct + Args *NodeList + Colnames *NodeList + RowFormat CoercionForm + RowTypeid Oid + func CloneRefOfRowExpr(n *RowExpr) *RowExpr + func NewRowConstructor(fields *NodeList) *RowExpr + func NewRowExpr(args *NodeList, rowTypeid Oid) *RowExpr + func (r *RowExpr) ExpressionType() string + func (r *RowExpr) SqlString() string + func (r *RowExpr) String() string + type RowMarkClause struct + PushedDown bool + Rti Index + Strength LockClauseStrength + WaitPolicy LockWaitPolicy + func CloneRefOfRowMarkClause(n *RowMarkClause) *RowMarkClause + func CloneSliceOfRefOfRowMarkClause(n []*RowMarkClause) []*RowMarkClause + func NewRowMarkClause(rti Index, strength LockClauseStrength) *RowMarkClause + func NewRowMarkClauseWithPolicy(rti Index, strength LockClauseStrength, waitPolicy LockWaitPolicy) *RowMarkClause + func (rmc *RowMarkClause) String() string + type RowMarkType int + const ROW_MARK_COPY + const ROW_MARK_EXCLUSIVE + const ROW_MARK_KEYSHARE + const ROW_MARK_NOKEYEXCLUSIVE + const ROW_MARK_REFERENCE + const ROW_MARK_SHARE + type RuleStmt struct + Actions *NodeList + Event CmdType + Instead bool + Relation *RangeVar + Replace bool + Rulename string + WhereClause Node + func CloneRefOfRuleStmt(n *RuleStmt) *RuleStmt + func NewRuleStmt(relation *RangeVar, rulename string, event CmdType) *RuleStmt + func (n *RuleStmt) Location() int + func (n *RuleStmt) NodeTag() NodeTag + func (n *RuleStmt) SqlString() string + func (n *RuleStmt) StatementType() string + func (n *RuleStmt) String() string + type SQLValueFunction struct + Op SQLValueFunctionOp + Type Oid + TypeMod int + func CloneRefOfSQLValueFunction(n *SQLValueFunction) *SQLValueFunction + func NewSQLValueFunction(op SQLValueFunctionOp, typ Oid, typeMod, location int) *SQLValueFunction + func (s *SQLValueFunction) ExpressionType() string + func (s *SQLValueFunction) SqlString() string + func (s *SQLValueFunction) String() string + type SQLValueFunctionOp int + const SVFOP_CURRENT_CATALOG + const SVFOP_CURRENT_DATE + const SVFOP_CURRENT_ROLE + const SVFOP_CURRENT_SCHEMA + const SVFOP_CURRENT_TIME + const SVFOP_CURRENT_TIMESTAMP + const SVFOP_CURRENT_TIMESTAMP_N + const SVFOP_CURRENT_TIME_N + const SVFOP_CURRENT_USER + const SVFOP_LOCALTIME + const SVFOP_LOCALTIMESTAMP + const SVFOP_LOCALTIMESTAMP_N + const SVFOP_LOCALTIME_N + const SVFOP_SESSION_USER + const SVFOP_USER + type ScalarArrayOpExpr struct + Args *NodeList + Hashfuncid Oid + Inputcollid Oid + Negfuncid Oid + Opfuncid Oid + Opno Oid + UseOr bool + func CloneRefOfScalarArrayOpExpr(n *ScalarArrayOpExpr) *ScalarArrayOpExpr + func NewAllExpr(opno Oid, scalar Node, array Node) *ScalarArrayOpExpr + func NewAnyExpr(opno Oid, scalar Node, array Node) *ScalarArrayOpExpr + func NewInExpr(scalar Node, array Node) *ScalarArrayOpExpr + func NewNotInExpr(scalar Node, array Node) *ScalarArrayOpExpr + func NewScalarArrayOpExpr(opno Oid, useOr bool, scalar Node, array Node) *ScalarArrayOpExpr + func (s *ScalarArrayOpExpr) ExpressionType() string + func (s *ScalarArrayOpExpr) String() string + type SecLabelStmt struct + Label string + Object Node + Objtype ObjectType + Provider string + func CloneRefOfSecLabelStmt(n *SecLabelStmt) *SecLabelStmt + func NewSecLabelStmt(objtype ObjectType, object Node, provider string, label string) *SecLabelStmt + func (n *SecLabelStmt) SqlString() string + func (n *SecLabelStmt) StatementType() string + func (n *SecLabelStmt) String() string + type SelectStmt struct + All bool + DistinctClause *NodeList + FromClause *NodeList + GroupClause *NodeList + GroupDistinct bool + HavingClause Node + IntoClause *IntoClause + Larg *SelectStmt + LimitCount Node + LimitOffset Node + LimitOption LimitOption + LockingClause *NodeList + Op SetOperation + Rarg *SelectStmt + SortClause *NodeList + TargetList *NodeList + ValuesLists *NodeList + WhereClause Node + WindowClause *NodeList + WithClause *WithClause + func CloneRefOfSelectStmt(n *SelectStmt) *SelectStmt + func NewSelectStmt() *SelectStmt + func (s *SelectStmt) LeafIntoClause() *IntoClause + func (s *SelectStmt) SqlString() string + func (s *SelectStmt) StatementType() string + func (s *SelectStmt) String() string + type SetOperation int + const SETOP_EXCEPT + const SETOP_INTERSECT + const SETOP_NONE + const SETOP_UNION + func (s SetOperation) String() string + type SetOperationStmt struct + All bool + ColCollations []Oid + ColTypes []Oid + ColTypmods []int32 + GroupClauses []*SortGroupClause + Larg Node + Op SetOperation + Rarg Node + func CloneRefOfSetOperationStmt(n *SetOperationStmt) *SetOperationStmt + func NewSetOperationStmt(op SetOperation, all bool, larg Node, rarg Node) *SetOperationStmt + func (n *SetOperationStmt) String() string + type SetQuantifier int + const SET_QUANTIFIER_ALL + const SET_QUANTIFIER_DEFAULT + const SET_QUANTIFIER_DISTINCT + type SetToDefault struct + Collation Oid + TypeId Oid + TypeMod int32 + func CloneRefOfSetToDefault(n *SetToDefault) *SetToDefault + func NewSetToDefault(typeId Oid, typeMod int32, collation Oid) *SetToDefault + func (std *SetToDefault) ExpressionType() string + func (std *SetToDefault) SqlString() string + func (std *SetToDefault) String() string + type ShowConnectionsStmt struct + Name string + func CloneRefOfShowConnectionsStmt(n *ShowConnectionsStmt) *ShowConnectionsStmt + func NewShowConnectionsStmt(name string) *ShowConnectionsStmt + func (n *ShowConnectionsStmt) SqlString() string + func (n *ShowConnectionsStmt) StatementType() string + func (n *ShowConnectionsStmt) String() string + type SinglePartitionSpec struct + func CloneRefOfSinglePartitionSpec(n *SinglePartitionSpec) *SinglePartitionSpec + func NewSinglePartitionSpec(location int) *SinglePartitionSpec + func (s *SinglePartitionSpec) StatementType() string + func (s *SinglePartitionSpec) String() string + type SortBy struct + Node Node + SortbyDir SortByDir + SortbyNulls SortByNulls + UseOp *NodeList + func CloneRefOfSortBy(n *SortBy) *SortBy + func NewSortBy(node Node, dir SortByDir, nulls SortByNulls, location int) *SortBy + func (s *SortBy) SqlString() string + func (s *SortBy) StatementType() string + func (s *SortBy) String() string + type SortByDir int + const SORTBY_ASC + const SORTBY_DEFAULT + const SORTBY_DESC + const SORTBY_USING + func (s SortByDir) String() string + type SortByNulls int + const SORTBY_NULLS_DEFAULT + const SORTBY_NULLS_FIRST + const SORTBY_NULLS_LAST + func (s SortByNulls) String() string + type SortGroupClause struct + Eqop Oid + Hashable bool + NullsFirst bool + Sortop Oid + TleSortGroupRef Index + func CloneRefOfSortGroupClause(n *SortGroupClause) *SortGroupClause + func CloneSliceOfRefOfSortGroupClause(n []*SortGroupClause) []*SortGroupClause + func NewSortGroupClause(tleSortGroupRef Index, eqop, sortop Oid) *SortGroupClause + func NewSortGroupClauseNullsFirst(tleSortGroupRef Index, eqop, sortop Oid) *SortGroupClause + func (sgc *SortGroupClause) String() string + type StartReplicationCmd struct + Kind ReplicationKind + Options []*DefElem + SlotName string + StartPoint XLogRecPtr + Timeline TimeLineID + func CloneRefOfStartReplicationCmd(n *StartReplicationCmd) *StartReplicationCmd + func NewStartReplicationCmd(kind ReplicationKind, slot string, timeline TimeLineID, start XLogRecPtr, ...) *StartReplicationCmd + func (n *StartReplicationCmd) SqlString() string + func (n *StartReplicationCmd) StatementType() string + type StatsElem struct + Expr Node + Name string + func CloneRefOfStatsElem(n *StatsElem) *StatsElem + func NewStatsElem(name string) *StatsElem + func NewStatsElemExpr(expr Node) *StatsElem + func (se *StatsElem) SqlString() string + func (se *StatsElem) String() string + type Stmt interface + StatementType func() string + func CloneStmt(in Stmt) Stmt + func SubstituteParameters(stmt Stmt, params [][]byte, paramFormats []int16, paramTypes []uint32) (Stmt, error) + type String struct + SVal string + func CloneRefOfString(n *String) *String + func NewString(value string) *String + func (s *String) ExpressionType() string + func (s *String) IsValue() bool + func (s *String) SqlString() string + func (s *String) String() string + type SubLink struct + OperName *NodeList + SubLinkId int + SubLinkType SubLinkType + Subselect Node + Testexpr Node + func CloneRefOfSubLink(n *SubLink) *SubLink + func NewArraySublink(subquery Node) *SubLink + func NewExistsSublink(subquery Node) *SubLink + func NewExprSublink(subquery Node) *SubLink + func NewInSublink(testexpr Node, subquery Node) *SubLink + func NewNotInSublink(testexpr Node, subquery Node) *SubLink + func NewSubLink(subLinkType SubLinkType, subselect Node) *SubLink + func (s *SubLink) ExpressionType() string + func (s *SubLink) SqlString() string + func (s *SubLink) String() string + type SubLinkType int + const ALL_SUBLINK + const ANY_SUBLINK + const ARRAY_SUBLINK + const CTE_SUBLINK + const EXISTS_SUBLINK + const EXPR_SUBLINK + const MULTIEXPR_SUBLINK + const ROWCOMPARE_SUBLINK + func GetSubLinkType(expr Node) SubLinkType + func (s SubLinkType) String() string + type SubPlan struct + Args []Expression + FirstColCollation Oid + FirstColType Oid + FirstColTypmod int32 + ParParam []int + ParallelSafe bool + ParamIds []int + PerCallCost float64 + PlanId int + PlanName string + SetParam []int + StartupCost float64 + SubLinkType SubLinkType + Testexpr Expression + UnknownEqFalse bool + UseHashTable bool + func CloneRefOfSubPlan(n *SubPlan) *SubPlan + func NewSubPlan(subLinkType SubLinkType, planId int, planName string) *SubPlan + func (sp *SubPlan) ExpressionType() string + func (sp *SubPlan) String() string + type SubscriptingRef struct + Refassgnexpr Expression + Refcollid Oid + Refcontainertype Oid + Refelemtype Oid + Refexpr Expression + Reflowerindexpr []Expression + Refrestype Oid + Reftypmod int32 + Refupperindexpr []Expression + func CloneRefOfSubscriptingRef(n *SubscriptingRef) *SubscriptingRef + func NewArrayAssignment(arraytype, elemtype Oid, arrayexpr, indexexpr, assignexpr Expression) *SubscriptingRef + func NewArraySlice(arraytype, elemtype Oid, arrayexpr, lowerexpr, upperexpr Expression) *SubscriptingRef + func NewArraySubscript(arraytype, elemtype Oid, arrayexpr, indexexpr Expression) *SubscriptingRef + func NewSubscriptingRef(containertype, elemtype, restype Oid, refexpr Expression, ...) *SubscriptingRef + func (sr *SubscriptingRef) ExpressionType() string + func (sr *SubscriptingRef) String() string + type TableFunc struct + Colcollations []Oid + Coldefexprs []Expression + Colexprs []Expression + Colnames []string + Coltypes []Oid + Coltypmods []int + Colvalexprs []Expression + Docexpr Expression + Functype TableFuncType + Notnulls []bool + NsNames []string + NsUris []Expression + Ordinalitycol int + Passingvalexprs []Expression + Plan Node + Rowexpr Expression + func CloneRefOfTableFunc(n *TableFunc) *TableFunc + func NewTableFunc(functype TableFuncType, nsUris []Expression, nsNames []string, ...) *TableFunc + func (t *TableFunc) StatementType() string + func (t *TableFunc) String() string + type TableFuncType int + const TFT_JSON_TABLE + const TFT_XMLTABLE + type TableLikeClause struct + Options TableLikeOption + Relation *RangeVar + func CloneRefOfTableLikeClause(n *TableLikeClause) *TableLikeClause + func NewTableLikeAll(relation *RangeVar) *TableLikeClause + func NewTableLikeClause(relation *RangeVar, options TableLikeOption) *TableLikeClause + func (tlc *TableLikeClause) SqlString() string + func (tlc *TableLikeClause) String() string + type TableLikeOption int + const CREATE_TABLE_LIKE_ALL + const CREATE_TABLE_LIKE_COMMENTS + const CREATE_TABLE_LIKE_COMPRESSION + const CREATE_TABLE_LIKE_CONSTRAINTS + const CREATE_TABLE_LIKE_DEFAULTS + const CREATE_TABLE_LIKE_GENERATED + const CREATE_TABLE_LIKE_IDENTITY + const CREATE_TABLE_LIKE_INDEXES + const CREATE_TABLE_LIKE_STATISTICS + const CREATE_TABLE_LIKE_STORAGE + type TableSampleClause struct + Args *NodeList + Repeatable Expr + Tsmhandler Oid + func CloneRefOfTableSampleClause(n *TableSampleClause) *TableSampleClause + func NewTableSampleClause(tsmhandler Oid, args *NodeList, repeatable Expr, location int) *TableSampleClause + func (t *TableSampleClause) StatementType() string + func (t *TableSampleClause) String() string + type TargetEntry struct + Expr Expression + Resjunk bool + Resname string + Resno AttrNumber + Resorigcol AttrNumber + Resorigtbl Oid + Ressortgroupref Index + func CloneRefOfTargetEntry(n *TargetEntry) *TargetEntry + func CloneSliceOfRefOfTargetEntry(n []*TargetEntry) []*TargetEntry + func NewJunkTargetEntry(expr Expression, resno AttrNumber) *TargetEntry + func NewTargetEntry(expr Expression, resno AttrNumber, resname string) *TargetEntry + func (te *TargetEntry) ExpressionType() string + func (te *TargetEntry) String() string + type TimeLineID uint32 + type TransactionStmt struct + Chain bool + Gid string + Kind TransactionStmtKind + Options *NodeList + SavepointName string + func CloneRefOfTransactionStmt(n *TransactionStmt) *TransactionStmt + func NewBeginStmt() *TransactionStmt + func NewCommitStmt() *TransactionStmt + func NewReleaseStmt(name string) *TransactionStmt + func NewRollbackStmt() *TransactionStmt + func NewRollbackToStmt(name string) *TransactionStmt + func NewSavepointStmt(name string) *TransactionStmt + func NewTransactionStmt(kind TransactionStmtKind) *TransactionStmt + func (ts *TransactionStmt) SqlString() string + func (ts *TransactionStmt) StatementType() string + func (ts *TransactionStmt) String() string + type TransactionStmtKind int + const TRANS_STMT_BEGIN + const TRANS_STMT_COMMIT + const TRANS_STMT_COMMIT_PREPARED + const TRANS_STMT_PREPARE + const TRANS_STMT_RELEASE + const TRANS_STMT_ROLLBACK + const TRANS_STMT_ROLLBACK_PREPARED + const TRANS_STMT_ROLLBACK_TO + const TRANS_STMT_SAVEPOINT + const TRANS_STMT_START + func (t TransactionStmtKind) String() string + type TriggerFires int + const TRIGGER_DISABLED + const TRIGGER_FIRES_ALWAYS + const TRIGGER_FIRES_ON_ORIGIN + const TRIGGER_FIRES_ON_REPLICA + type TriggerTransition struct + IsNew bool + IsTable bool + Name string + func CloneRefOfTriggerTransition(n *TriggerTransition) *TriggerTransition + type TruncateStmt struct + Behavior DropBehavior + Relations *NodeList + RestartSeqs bool + func CloneRefOfTruncateStmt(n *TruncateStmt) *TruncateStmt + func NewTruncateStmt(relations *NodeList) *TruncateStmt + func (n *TruncateStmt) SqlString() string + func (n *TruncateStmt) StatementType() string + func (n *TruncateStmt) String() string + type TypeCast struct + Arg Node + TypeName *TypeName + func CloneRefOfTypeCast(n *TypeCast) *TypeCast + func NewTypeCast(arg Node, typeName *TypeName, location int) *TypeCast + func (t *TypeCast) ExpressionType() string + func (t *TypeCast) IsExpr() bool + func (t *TypeCast) SqlString() string + func (t *TypeCast) String() string + type TypeName struct + ArrayBounds *NodeList + Names *NodeList + PctType bool + Setof bool + TypeOid Oid + Typemod int32 + Typmods *NodeList + func CloneRefOfTypeName(n *TypeName) *TypeName + func NewTypeName(names []string) *TypeName + func OidToTypeName(oid Oid) *TypeName + func TableFuncTypeName(tableCols *NodeList) *TypeName + func (t *TypeName) GetNames() []string + func (t *TypeName) SqlString() string + func (t *TypeName) String() string + type UnlistenStmt struct + Conditionname string + func CloneRefOfUnlistenStmt(n *UnlistenStmt) *UnlistenStmt + func NewUnlistenAllStmt() *UnlistenStmt + func NewUnlistenStmt(conditionname string) *UnlistenStmt + func (us *UnlistenStmt) SqlString() string + func (us *UnlistenStmt) StatementType() string + func (us *UnlistenStmt) String() string + type UpdateStmt struct + FromClause *NodeList + Relation *RangeVar + ReturningList *NodeList + TargetList *NodeList + WhereClause Node + WithClause *WithClause + func CloneRefOfUpdateStmt(n *UpdateStmt) *UpdateStmt + func NewUpdateStmt(relation *RangeVar) *UpdateStmt + func (u *UpdateStmt) SqlString() string + func (u *UpdateStmt) StatementType() string + func (u *UpdateStmt) String() string + type VacuumRelation struct + Oid Oid + Relation *RangeVar + VaCols *NodeList + func CloneRefOfVacuumRelation(n *VacuumRelation) *VacuumRelation + func NewVacuumRelation(relation *RangeVar, vaCols *NodeList) *VacuumRelation + func (vr *VacuumRelation) String() string + type VacuumStmt struct + IsVacuumcmd bool + Options *NodeList + Rels *NodeList + func CloneRefOfVacuumStmt(n *VacuumStmt) *VacuumStmt + func NewAnalyzeStmt(options *NodeList, rels *NodeList) *VacuumStmt + func NewVacuumStmt(options *NodeList, rels *NodeList) *VacuumStmt + func (vs *VacuumStmt) SqlString() string + func (vs *VacuumStmt) StatementType() string + func (vs *VacuumStmt) String() string + type Value interface + IsValue func() bool + func CloneValue(in Value) Value + type Var struct + Varattno AttrNumber + Varattnosyn AttrNumber + Varcollid Oid + Varlevelsup Index + Varno int + Varnosyn Index + Vartype Oid + Vartypmod int32 + func CloneRefOfVar(n *Var) *Var + func NewVar(varno int, varattno AttrNumber, vartype Oid) *Var + func (v *Var) ExpressionType() string + func (v *Var) String() string + type VariableSetKind int + const VAR_RESET + const VAR_RESET_ALL + const VAR_SET_CURRENT + const VAR_SET_DEFAULT + const VAR_SET_MULTI + const VAR_SET_VALUE + func (v VariableSetKind) String() string + type VariableSetStmt struct + Args *NodeList + IsLocal bool + Kind VariableSetKind + Name string + func CloneRefOfVariableSetStmt(n *VariableSetStmt) *VariableSetStmt + func NewResetStmt(name string) *VariableSetStmt + func NewSetStmt(name string, args *NodeList) *VariableSetStmt + func NewVariableSetStmt(kind VariableSetKind, name string, args *NodeList, isLocal bool) *VariableSetStmt + func (v *VariableSetStmt) SqlString() string + func (vss *VariableSetStmt) StatementType() string + func (vss *VariableSetStmt) String() string + type VariableShowStmt struct + Name string + func CloneRefOfVariableShowStmt(n *VariableShowStmt) *VariableShowStmt + func NewVariableShowStmt(name string) *VariableShowStmt + func (vss *VariableShowStmt) SqlString() string + func (vss *VariableShowStmt) StatementType() string + func (vss *VariableShowStmt) String() string + type ViewCheckOption int + const CASCADED_CHECK_OPTION + const LOCAL_CHECK_OPTION + const NO_CHECK_OPTION + func (v ViewCheckOption) String() string + type ViewStmt struct + Aliases *NodeList + Options *NodeList + Query Node + Replace bool + View *RangeVar + WithCheckOption ViewCheckOption + func CloneRefOfViewStmt(n *ViewStmt) *ViewStmt + func NewViewStmt(view *RangeVar, query Node, replace bool) *ViewStmt + func (v *ViewStmt) SqlString() string + func (v *ViewStmt) StatementType() string + func (v *ViewStmt) String() string + type WCOKind int + const WCO_RLS_CONFLICT_CHECK + const WCO_RLS_INSERT_CHECK + const WCO_RLS_MERGE_DELETE_CHECK + const WCO_RLS_MERGE_UPDATE_CHECK + const WCO_RLS_UPDATE_CHECK + const WCO_VIEW_CHECK + func (w WCOKind) String() string + type WindowClause struct + CopiedOrder bool + EndInRangeFunc Oid + EndOffset Node + FrameOptions int + InRangeAsc bool + InRangeColl Oid + InRangeNullsFirst bool + Name string + OrderClause *NodeList + PartitionClause *NodeList + Refname string + StartInRangeFunc Oid + StartOffset Node + WinRef Index + func CloneRefOfWindowClause(n *WindowClause) *WindowClause + func CloneSliceOfRefOfWindowClause(n []*WindowClause) []*WindowClause + func NewOrderedWindowClause(name string, orderClause *NodeList) *WindowClause + func NewPartitionedWindowClause(name string, partitionClause *NodeList) *WindowClause + func NewWindowClause(name string) *WindowClause + func (wc *WindowClause) String() string + type WindowDef struct + EndOffset Node + FrameOptions int + Name string + OrderClause *NodeList + PartitionClause *NodeList + Refname string + StartOffset Node + func CloneRefOfWindowDef(n *WindowDef) *WindowDef + func NewWindowDef(name string, location int) *WindowDef + func (w *WindowDef) SqlString() string + func (w *WindowDef) SqlStringForContext(inWindowClause bool) string + func (w *WindowDef) StatementType() string + func (w *WindowDef) String() string + type WindowFunc struct + Aggfilter Node + Args *NodeList + Inputcollid Oid + RunCondition *NodeList + Winagg bool + Wincollid Oid + Winfnoid Oid + Winref Index + Winstar bool + Wintype Oid + func CloneRefOfWindowFunc(n *WindowFunc) *WindowFunc + func NewDenseRank() *WindowFunc + func NewLag(expr Node) *WindowFunc + func NewLead(expr Node) *WindowFunc + func NewRank() *WindowFunc + func NewRowNumber() *WindowFunc + func NewWindowFunc(winfnoid Oid, wintype Oid, args *NodeList, winref Index) *WindowFunc + func (w *WindowFunc) ExpressionType() string + func (w *WindowFunc) String() string + type WindowFuncRunCondition struct + Arg Expression + InputCollid Oid + Opno Oid + WfuncLeft bool + func CloneRefOfWindowFuncRunCondition(n *WindowFuncRunCondition) *WindowFuncRunCondition + func NewWindowFuncRunCondition(opno, inputCollid Oid, wfuncLeft bool, arg Expression, location int) *WindowFuncRunCondition + func (w *WindowFuncRunCondition) ExpressionType() string + func (w *WindowFuncRunCondition) String() string + type WithCheckOption struct + Cascaded bool + Kind WCOKind + Polname string + Qual Node + Relname string + func CloneRefOfWithCheckOption(n *WithCheckOption) *WithCheckOption + func NewWithCheckOption(kind WCOKind, cascaded bool) *WithCheckOption + func (n *WithCheckOption) String() string + type WithClause struct + Ctes *NodeList + Recursive bool + func CloneRefOfWithClause(n *WithClause) *WithClause + func NewWithClause(ctes *NodeList, recursive bool, location int) *WithClause + func (w *WithClause) ExpressionType() string + func (w *WithClause) IsExpr() bool + func (w *WithClause) SqlString() string + func (w *WithClause) String() string + type XLogRecPtr uint64 + type XmlExpr struct + ArgNames *NodeList + Args *NodeList + Indent bool + Name string + NamedArgs *NodeList + Op XmlExprOp + Type Oid + TypeMod int + Xmloption XmlOptionType + func CloneRefOfXmlExpr(n *XmlExpr) *XmlExpr + func NewXmlExpr(op XmlExprOp, name string, namedArgs, argNames, args *NodeList, ...) *XmlExpr + func (x *XmlExpr) ExpressionType() string + func (x *XmlExpr) SqlString() string + func (x *XmlExpr) String() string + type XmlExprOp int + const IS_DOCUMENT + const IS_XMLCONCAT + const IS_XMLELEMENT + const IS_XMLFOREST + const IS_XMLPARSE + const IS_XMLPI + const IS_XMLROOT + const IS_XMLSERIALIZE + type XmlOptionType int + const XMLOPTION_CONTENT + const XMLOPTION_DOCUMENT + type XmlSerialize struct + Expr Node + Indent bool + TypeName *TypeName + XmlOptionType XmlOptionType + func CloneRefOfXmlSerialize(n *XmlSerialize) *XmlSerialize + func NewXmlSerialize(xmlOptionType XmlOptionType, expr Node, typeName *TypeName, indent bool, ...) *XmlSerialize + func (x *XmlSerialize) ExpressionType() string + func (x *XmlSerialize) IsExpr() bool + func (x *XmlSerialize) SqlString() string + func (x *XmlSerialize) String() string + type XmlStandaloneType int + const XML_STANDALONE_NO + const XML_STANDALONE_NO_VALUE + const XML_STANDALONE_OMITTED + const XML_STANDALONE_YES