oliphant

package module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 3 Imported by: 0

README

oliphant

A hand-written, pure Go (no cgo, no wasm) drop-in replacement for pganalyze/pg_query_go: same exported functions, same generated protobuf types, same JSON output, same error type, same fingerprints. Consumers change one import path:

-import pg_query "github.com/pganalyze/pg_query_go/v6"
+import pg_query "github.com/sqlc-dev/oliphant"

Pinned to libpg_query 18.0.0 (PostgreSQL 18.4, patched) — the exact build pg_query_go v6.2.2 ships. Every golden in parser/testdata derives from that oracle, byte for byte, and is never edited by hand.

See PLAN.md for the full design and CLAUDE.md for the development loop.

Status

Milestone State
1. Scaffolding + codegen ✅ module, licenses, CI, vendored pin, ast/ protobuf types, aliases, keyword tables, API surface, parser.Error; pg_query_go's parse_test tree literals compile unchanged
2. Corpus + oracle ✅ cgo oracle (oracle/), cmd/regenerate, byte-reproducible goldens; harness + cmd/next-test
3. Lexer Scan, SplitWithScanner, HashXXH3_64; token streams byte-identical across the corpus
4. Expressions + SELECT Parse/ParseToJSON for the SELECT family
5–7. DML, DDL, utility ✅ the full statement grammar; SplitWithParser, IsUtilityStmt; parse corpus at 100%
8. Normalize + fingerprint Normalize, NormalizeUtility, Fingerprint
9. Deparse Deparse, byte-equal to the oracle across the corpus
10. Summary Summary (classification + smart truncation)
11. PL/pgSQL ParsePlPgSqlToJSON (pl_gram + pl_comp subset + JSON dump)
12–13. Hardening, sqlc integration

Every public entry point is implemented; the corpus — 2,067 golden files / 308,561 cases across eleven suites — passes with an empty todo list.

Documentation

Overview

Ported verbatim from pg_query_go v6.2.2 makefuncs.go (BSD-3, see LICENSE.LIBPG_QUERY); only the package clause differs. These constructors are already pure Go upstream.

Package oliphant is a pure Go (no cgo, no wasm) drop-in replacement for github.com/pganalyze/pg_query_go/v6: same exported functions, same generated protobuf types, same JSON output, same error type, same fingerprints.

Consumers alias the import, exactly as pg_query_go users already do:

import pg_query "github.com/sqlc-dev/oliphant"

This file mirrors pg_query_go's pg_query.go function-for-function; the bodies delegate to the parser subpackage just as upstream's do.

Index

Constants

View Source
const (
	QuerySource_QUERY_SOURCE_UNDEFINED                           = ast.QuerySource_QUERY_SOURCE_UNDEFINED
	QuerySource_QSRC_ORIGINAL                                    = ast.QuerySource_QSRC_ORIGINAL
	QuerySource_QSRC_PARSER                                      = ast.QuerySource_QSRC_PARSER
	QuerySource_QSRC_INSTEAD_RULE                                = ast.QuerySource_QSRC_INSTEAD_RULE
	QuerySource_QSRC_QUAL_INSTEAD_RULE                           = ast.QuerySource_QSRC_QUAL_INSTEAD_RULE
	QuerySource_QSRC_NON_INSTEAD_RULE                            = ast.QuerySource_QSRC_NON_INSTEAD_RULE
	SortByDir_SORT_BY_DIR_UNDEFINED                              = ast.SortByDir_SORT_BY_DIR_UNDEFINED
	SortByDir_SORTBY_DEFAULT                                     = ast.SortByDir_SORTBY_DEFAULT
	SortByDir_SORTBY_ASC                                         = ast.SortByDir_SORTBY_ASC
	SortByDir_SORTBY_DESC                                        = ast.SortByDir_SORTBY_DESC
	SortByDir_SORTBY_USING                                       = ast.SortByDir_SORTBY_USING
	SortByNulls_SORT_BY_NULLS_UNDEFINED                          = ast.SortByNulls_SORT_BY_NULLS_UNDEFINED
	SortByNulls_SORTBY_NULLS_DEFAULT                             = ast.SortByNulls_SORTBY_NULLS_DEFAULT
	SortByNulls_SORTBY_NULLS_FIRST                               = ast.SortByNulls_SORTBY_NULLS_FIRST
	SortByNulls_SORTBY_NULLS_LAST                                = ast.SortByNulls_SORTBY_NULLS_LAST
	SetQuantifier_SET_QUANTIFIER_UNDEFINED                       = ast.SetQuantifier_SET_QUANTIFIER_UNDEFINED
	SetQuantifier_SET_QUANTIFIER_DEFAULT                         = ast.SetQuantifier_SET_QUANTIFIER_DEFAULT
	SetQuantifier_SET_QUANTIFIER_ALL                             = ast.SetQuantifier_SET_QUANTIFIER_ALL
	SetQuantifier_SET_QUANTIFIER_DISTINCT                        = ast.SetQuantifier_SET_QUANTIFIER_DISTINCT
	A_Expr_Kind_A_EXPR_KIND_UNDEFINED                            = ast.A_Expr_Kind_A_EXPR_KIND_UNDEFINED
	A_Expr_Kind_AEXPR_OP                                         = ast.A_Expr_Kind_AEXPR_OP
	A_Expr_Kind_AEXPR_OP_ANY                                     = ast.A_Expr_Kind_AEXPR_OP_ANY
	A_Expr_Kind_AEXPR_OP_ALL                                     = ast.A_Expr_Kind_AEXPR_OP_ALL
	A_Expr_Kind_AEXPR_DISTINCT                                   = ast.A_Expr_Kind_AEXPR_DISTINCT
	A_Expr_Kind_AEXPR_NOT_DISTINCT                               = ast.A_Expr_Kind_AEXPR_NOT_DISTINCT
	A_Expr_Kind_AEXPR_NULLIF                                     = ast.A_Expr_Kind_AEXPR_NULLIF
	A_Expr_Kind_AEXPR_IN                                         = ast.A_Expr_Kind_AEXPR_IN
	A_Expr_Kind_AEXPR_LIKE                                       = ast.A_Expr_Kind_AEXPR_LIKE
	A_Expr_Kind_AEXPR_ILIKE                                      = ast.A_Expr_Kind_AEXPR_ILIKE
	A_Expr_Kind_AEXPR_SIMILAR                                    = ast.A_Expr_Kind_AEXPR_SIMILAR
	A_Expr_Kind_AEXPR_BETWEEN                                    = ast.A_Expr_Kind_AEXPR_BETWEEN
	A_Expr_Kind_AEXPR_NOT_BETWEEN                                = ast.A_Expr_Kind_AEXPR_NOT_BETWEEN
	A_Expr_Kind_AEXPR_BETWEEN_SYM                                = ast.A_Expr_Kind_AEXPR_BETWEEN_SYM
	A_Expr_Kind_AEXPR_NOT_BETWEEN_SYM                            = ast.A_Expr_Kind_AEXPR_NOT_BETWEEN_SYM
	RoleSpecType_ROLE_SPEC_TYPE_UNDEFINED                        = ast.RoleSpecType_ROLE_SPEC_TYPE_UNDEFINED
	RoleSpecType_ROLESPEC_CSTRING                                = ast.RoleSpecType_ROLESPEC_CSTRING
	RoleSpecType_ROLESPEC_CURRENT_ROLE                           = ast.RoleSpecType_ROLESPEC_CURRENT_ROLE
	RoleSpecType_ROLESPEC_CURRENT_USER                           = ast.RoleSpecType_ROLESPEC_CURRENT_USER
	RoleSpecType_ROLESPEC_SESSION_USER                           = ast.RoleSpecType_ROLESPEC_SESSION_USER
	RoleSpecType_ROLESPEC_PUBLIC                                 = ast.RoleSpecType_ROLESPEC_PUBLIC
	TableLikeOption_TABLE_LIKE_OPTION_UNDEFINED                  = ast.TableLikeOption_TABLE_LIKE_OPTION_UNDEFINED
	TableLikeOption_CREATE_TABLE_LIKE_COMMENTS                   = ast.TableLikeOption_CREATE_TABLE_LIKE_COMMENTS
	TableLikeOption_CREATE_TABLE_LIKE_COMPRESSION                = ast.TableLikeOption_CREATE_TABLE_LIKE_COMPRESSION
	TableLikeOption_CREATE_TABLE_LIKE_CONSTRAINTS                = ast.TableLikeOption_CREATE_TABLE_LIKE_CONSTRAINTS
	TableLikeOption_CREATE_TABLE_LIKE_DEFAULTS                   = ast.TableLikeOption_CREATE_TABLE_LIKE_DEFAULTS
	TableLikeOption_CREATE_TABLE_LIKE_GENERATED                  = ast.TableLikeOption_CREATE_TABLE_LIKE_GENERATED
	TableLikeOption_CREATE_TABLE_LIKE_IDENTITY                   = ast.TableLikeOption_CREATE_TABLE_LIKE_IDENTITY
	TableLikeOption_CREATE_TABLE_LIKE_INDEXES                    = ast.TableLikeOption_CREATE_TABLE_LIKE_INDEXES
	TableLikeOption_CREATE_TABLE_LIKE_STATISTICS                 = ast.TableLikeOption_CREATE_TABLE_LIKE_STATISTICS
	TableLikeOption_CREATE_TABLE_LIKE_STORAGE                    = ast.TableLikeOption_CREATE_TABLE_LIKE_STORAGE
	TableLikeOption_CREATE_TABLE_LIKE_ALL                        = ast.TableLikeOption_CREATE_TABLE_LIKE_ALL
	DefElemAction_DEF_ELEM_ACTION_UNDEFINED                      = ast.DefElemAction_DEF_ELEM_ACTION_UNDEFINED
	DefElemAction_DEFELEM_UNSPEC                                 = ast.DefElemAction_DEFELEM_UNSPEC
	DefElemAction_DEFELEM_SET                                    = ast.DefElemAction_DEFELEM_SET
	DefElemAction_DEFELEM_ADD                                    = ast.DefElemAction_DEFELEM_ADD
	DefElemAction_DEFELEM_DROP                                   = ast.DefElemAction_DEFELEM_DROP
	PartitionStrategy_PARTITION_STRATEGY_UNDEFINED               = ast.PartitionStrategy_PARTITION_STRATEGY_UNDEFINED
	PartitionStrategy_PARTITION_STRATEGY_LIST                    = ast.PartitionStrategy_PARTITION_STRATEGY_LIST
	PartitionStrategy_PARTITION_STRATEGY_RANGE                   = ast.PartitionStrategy_PARTITION_STRATEGY_RANGE
	PartitionStrategy_PARTITION_STRATEGY_HASH                    = ast.PartitionStrategy_PARTITION_STRATEGY_HASH
	PartitionRangeDatumKind_PARTITION_RANGE_DATUM_KIND_UNDEFINED = ast.PartitionRangeDatumKind_PARTITION_RANGE_DATUM_KIND_UNDEFINED
	PartitionRangeDatumKind_PARTITION_RANGE_DATUM_MINVALUE       = ast.PartitionRangeDatumKind_PARTITION_RANGE_DATUM_MINVALUE
	PartitionRangeDatumKind_PARTITION_RANGE_DATUM_VALUE          = ast.PartitionRangeDatumKind_PARTITION_RANGE_DATUM_VALUE
	PartitionRangeDatumKind_PARTITION_RANGE_DATUM_MAXVALUE       = ast.PartitionRangeDatumKind_PARTITION_RANGE_DATUM_MAXVALUE
	RTEKind_RTEKIND_UNDEFINED                                    = ast.RTEKind_RTEKIND_UNDEFINED
	RTEKind_RTE_RELATION                                         = ast.RTEKind_RTE_RELATION
	RTEKind_RTE_SUBQUERY                                         = ast.RTEKind_RTE_SUBQUERY
	RTEKind_RTE_JOIN                                             = ast.RTEKind_RTE_JOIN
	RTEKind_RTE_FUNCTION                                         = ast.RTEKind_RTE_FUNCTION
	RTEKind_RTE_TABLEFUNC                                        = ast.RTEKind_RTE_TABLEFUNC
	RTEKind_RTE_VALUES                                           = ast.RTEKind_RTE_VALUES
	RTEKind_RTE_CTE                                              = ast.RTEKind_RTE_CTE
	RTEKind_RTE_NAMEDTUPLESTORE                                  = ast.RTEKind_RTE_NAMEDTUPLESTORE
	RTEKind_RTE_RESULT                                           = ast.RTEKind_RTE_RESULT
	RTEKind_RTE_GROUP                                            = ast.RTEKind_RTE_GROUP
	WCOKind_WCOKIND_UNDEFINED                                    = ast.WCOKind_WCOKIND_UNDEFINED
	WCOKind_WCO_VIEW_CHECK                                       = ast.WCOKind_WCO_VIEW_CHECK
	WCOKind_WCO_RLS_INSERT_CHECK                                 = ast.WCOKind_WCO_RLS_INSERT_CHECK
	WCOKind_WCO_RLS_UPDATE_CHECK                                 = ast.WCOKind_WCO_RLS_UPDATE_CHECK
	WCOKind_WCO_RLS_CONFLICT_CHECK                               = ast.WCOKind_WCO_RLS_CONFLICT_CHECK
	WCOKind_WCO_RLS_MERGE_UPDATE_CHECK                           = ast.WCOKind_WCO_RLS_MERGE_UPDATE_CHECK
	WCOKind_WCO_RLS_MERGE_DELETE_CHECK                           = ast.WCOKind_WCO_RLS_MERGE_DELETE_CHECK
	GroupingSetKind_GROUPING_SET_KIND_UNDEFINED                  = ast.GroupingSetKind_GROUPING_SET_KIND_UNDEFINED
	GroupingSetKind_GROUPING_SET_EMPTY                           = ast.GroupingSetKind_GROUPING_SET_EMPTY
	GroupingSetKind_GROUPING_SET_SIMPLE                          = ast.GroupingSetKind_GROUPING_SET_SIMPLE
	GroupingSetKind_GROUPING_SET_ROLLUP                          = ast.GroupingSetKind_GROUPING_SET_ROLLUP
	GroupingSetKind_GROUPING_SET_CUBE                            = ast.GroupingSetKind_GROUPING_SET_CUBE
	GroupingSetKind_GROUPING_SET_SETS                            = ast.GroupingSetKind_GROUPING_SET_SETS
	CTEMaterialize_CTEMATERIALIZE_UNDEFINED                      = ast.CTEMaterialize_CTEMATERIALIZE_UNDEFINED
	CTEMaterialize_CTEMaterializeDefault                         = ast.CTEMaterialize_CTEMaterializeDefault
	CTEMaterialize_CTEMaterializeAlways                          = ast.CTEMaterialize_CTEMaterializeAlways
	CTEMaterialize_CTEMaterializeNever                           = ast.CTEMaterialize_CTEMaterializeNever
	ReturningOptionKind_RETURNING_OPTION_KIND_UNDEFINED          = ast.ReturningOptionKind_RETURNING_OPTION_KIND_UNDEFINED
	ReturningOptionKind_RETURNING_OPTION_OLD                     = ast.ReturningOptionKind_RETURNING_OPTION_OLD
	ReturningOptionKind_RETURNING_OPTION_NEW                     = ast.ReturningOptionKind_RETURNING_OPTION_NEW
	JsonQuotes_JSON_QUOTES_UNDEFINED                             = ast.JsonQuotes_JSON_QUOTES_UNDEFINED
	JsonQuotes_JS_QUOTES_UNSPEC                                  = ast.JsonQuotes_JS_QUOTES_UNSPEC
	JsonQuotes_JS_QUOTES_KEEP                                    = ast.JsonQuotes_JS_QUOTES_KEEP
	JsonQuotes_JS_QUOTES_OMIT                                    = ast.JsonQuotes_JS_QUOTES_OMIT
	JsonTableColumnType_JSON_TABLE_COLUMN_TYPE_UNDEFINED         = ast.JsonTableColumnType_JSON_TABLE_COLUMN_TYPE_UNDEFINED
	JsonTableColumnType_JTC_FOR_ORDINALITY                       = ast.JsonTableColumnType_JTC_FOR_ORDINALITY
	JsonTableColumnType_JTC_REGULAR                              = ast.JsonTableColumnType_JTC_REGULAR
	JsonTableColumnType_JTC_EXISTS                               = ast.JsonTableColumnType_JTC_EXISTS
	JsonTableColumnType_JTC_FORMATTED                            = ast.JsonTableColumnType_JTC_FORMATTED
	JsonTableColumnType_JTC_NESTED                               = ast.JsonTableColumnType_JTC_NESTED
	SetOperation_SET_OPERATION_UNDEFINED                         = ast.SetOperation_SET_OPERATION_UNDEFINED
	SetOperation_SETOP_NONE                                      = ast.SetOperation_SETOP_NONE
	SetOperation_SETOP_UNION                                     = ast.SetOperation_SETOP_UNION
	SetOperation_SETOP_INTERSECT                                 = ast.SetOperation_SETOP_INTERSECT
	SetOperation_SETOP_EXCEPT                                    = ast.SetOperation_SETOP_EXCEPT
	ObjectType_OBJECT_TYPE_UNDEFINED                             = ast.ObjectType_OBJECT_TYPE_UNDEFINED
	ObjectType_OBJECT_ACCESS_METHOD                              = ast.ObjectType_OBJECT_ACCESS_METHOD
	ObjectType_OBJECT_AGGREGATE                                  = ast.ObjectType_OBJECT_AGGREGATE
	ObjectType_OBJECT_AMOP                                       = ast.ObjectType_OBJECT_AMOP
	ObjectType_OBJECT_AMPROC                                     = ast.ObjectType_OBJECT_AMPROC
	ObjectType_OBJECT_ATTRIBUTE                                  = ast.ObjectType_OBJECT_ATTRIBUTE
	ObjectType_OBJECT_CAST                                       = ast.ObjectType_OBJECT_CAST
	ObjectType_OBJECT_COLUMN                                     = ast.ObjectType_OBJECT_COLUMN
	ObjectType_OBJECT_COLLATION                                  = ast.ObjectType_OBJECT_COLLATION
	ObjectType_OBJECT_CONVERSION                                 = ast.ObjectType_OBJECT_CONVERSION
	ObjectType_OBJECT_DATABASE                                   = ast.ObjectType_OBJECT_DATABASE
	ObjectType_OBJECT_DEFAULT                                    = ast.ObjectType_OBJECT_DEFAULT
	ObjectType_OBJECT_DEFACL                                     = ast.ObjectType_OBJECT_DEFACL
	ObjectType_OBJECT_DOMAIN                                     = ast.ObjectType_OBJECT_DOMAIN
	ObjectType_OBJECT_DOMCONSTRAINT                              = ast.ObjectType_OBJECT_DOMCONSTRAINT
	ObjectType_OBJECT_EVENT_TRIGGER                              = ast.ObjectType_OBJECT_EVENT_TRIGGER
	ObjectType_OBJECT_EXTENSION                                  = ast.ObjectType_OBJECT_EXTENSION
	ObjectType_OBJECT_FDW                                        = ast.ObjectType_OBJECT_FDW
	ObjectType_OBJECT_FOREIGN_SERVER                             = ast.ObjectType_OBJECT_FOREIGN_SERVER
	ObjectType_OBJECT_FOREIGN_TABLE                              = ast.ObjectType_OBJECT_FOREIGN_TABLE
	ObjectType_OBJECT_FUNCTION                                   = ast.ObjectType_OBJECT_FUNCTION
	ObjectType_OBJECT_INDEX                                      = ast.ObjectType_OBJECT_INDEX
	ObjectType_OBJECT_LANGUAGE                                   = ast.ObjectType_OBJECT_LANGUAGE
	ObjectType_OBJECT_LARGEOBJECT                                = ast.ObjectType_OBJECT_LARGEOBJECT
	ObjectType_OBJECT_MATVIEW                                    = ast.ObjectType_OBJECT_MATVIEW
	ObjectType_OBJECT_OPCLASS                                    = ast.ObjectType_OBJECT_OPCLASS
	ObjectType_OBJECT_OPERATOR                                   = ast.ObjectType_OBJECT_OPERATOR
	ObjectType_OBJECT_OPFAMILY                                   = ast.ObjectType_OBJECT_OPFAMILY
	ObjectType_OBJECT_PARAMETER_ACL                              = ast.ObjectType_OBJECT_PARAMETER_ACL
	ObjectType_OBJECT_POLICY                                     = ast.ObjectType_OBJECT_POLICY
	ObjectType_OBJECT_PROCEDURE                                  = ast.ObjectType_OBJECT_PROCEDURE
	ObjectType_OBJECT_PUBLICATION                                = ast.ObjectType_OBJECT_PUBLICATION
	ObjectType_OBJECT_PUBLICATION_NAMESPACE                      = ast.ObjectType_OBJECT_PUBLICATION_NAMESPACE
	ObjectType_OBJECT_PUBLICATION_REL                            = ast.ObjectType_OBJECT_PUBLICATION_REL
	ObjectType_OBJECT_ROLE                                       = ast.ObjectType_OBJECT_ROLE
	ObjectType_OBJECT_ROUTINE                                    = ast.ObjectType_OBJECT_ROUTINE
	ObjectType_OBJECT_RULE                                       = ast.ObjectType_OBJECT_RULE
	ObjectType_OBJECT_SCHEMA                                     = ast.ObjectType_OBJECT_SCHEMA
	ObjectType_OBJECT_SEQUENCE                                   = ast.ObjectType_OBJECT_SEQUENCE
	ObjectType_OBJECT_SUBSCRIPTION                               = ast.ObjectType_OBJECT_SUBSCRIPTION
	ObjectType_OBJECT_STATISTIC_EXT                              = ast.ObjectType_OBJECT_STATISTIC_EXT
	ObjectType_OBJECT_TABCONSTRAINT                              = ast.ObjectType_OBJECT_TABCONSTRAINT
	ObjectType_OBJECT_TABLE                                      = ast.ObjectType_OBJECT_TABLE
	ObjectType_OBJECT_TABLESPACE                                 = ast.ObjectType_OBJECT_TABLESPACE
	ObjectType_OBJECT_TRANSFORM                                  = ast.ObjectType_OBJECT_TRANSFORM
	ObjectType_OBJECT_TRIGGER                                    = ast.ObjectType_OBJECT_TRIGGER
	ObjectType_OBJECT_TSCONFIGURATION                            = ast.ObjectType_OBJECT_TSCONFIGURATION
	ObjectType_OBJECT_TSDICTIONARY                               = ast.ObjectType_OBJECT_TSDICTIONARY
	ObjectType_OBJECT_TSPARSER                                   = ast.ObjectType_OBJECT_TSPARSER
	ObjectType_OBJECT_TSTEMPLATE                                 = ast.ObjectType_OBJECT_TSTEMPLATE
	ObjectType_OBJECT_TYPE                                       = ast.ObjectType_OBJECT_TYPE
	ObjectType_OBJECT_USER_MAPPING                               = ast.ObjectType_OBJECT_USER_MAPPING
	ObjectType_OBJECT_VIEW                                       = ast.ObjectType_OBJECT_VIEW
	DropBehavior_DROP_BEHAVIOR_UNDEFINED                         = ast.DropBehavior_DROP_BEHAVIOR_UNDEFINED
	DropBehavior_DROP_RESTRICT                                   = ast.DropBehavior_DROP_RESTRICT
	DropBehavior_DROP_CASCADE                                    = ast.DropBehavior_DROP_CASCADE
	AlterTableType_ALTER_TABLE_TYPE_UNDEFINED                    = ast.AlterTableType_ALTER_TABLE_TYPE_UNDEFINED
	AlterTableType_AT_AddColumn                                  = ast.AlterTableType_AT_AddColumn
	AlterTableType_AT_AddColumnToView                            = ast.AlterTableType_AT_AddColumnToView
	AlterTableType_AT_ColumnDefault                              = ast.AlterTableType_AT_ColumnDefault
	AlterTableType_AT_CookedColumnDefault                        = ast.AlterTableType_AT_CookedColumnDefault
	AlterTableType_AT_DropNotNull                                = ast.AlterTableType_AT_DropNotNull
	AlterTableType_AT_SetNotNull                                 = ast.AlterTableType_AT_SetNotNull
	AlterTableType_AT_SetExpression                              = ast.AlterTableType_AT_SetExpression
	AlterTableType_AT_DropExpression                             = ast.AlterTableType_AT_DropExpression
	AlterTableType_AT_SetStatistics                              = ast.AlterTableType_AT_SetStatistics
	AlterTableType_AT_SetOptions                                 = ast.AlterTableType_AT_SetOptions
	AlterTableType_AT_ResetOptions                               = ast.AlterTableType_AT_ResetOptions
	AlterTableType_AT_SetStorage                                 = ast.AlterTableType_AT_SetStorage
	AlterTableType_AT_SetCompression                             = ast.AlterTableType_AT_SetCompression
	AlterTableType_AT_DropColumn                                 = ast.AlterTableType_AT_DropColumn
	AlterTableType_AT_AddIndex                                   = ast.AlterTableType_AT_AddIndex
	AlterTableType_AT_ReAddIndex                                 = ast.AlterTableType_AT_ReAddIndex
	AlterTableType_AT_AddConstraint                              = ast.AlterTableType_AT_AddConstraint
	AlterTableType_AT_ReAddConstraint                            = ast.AlterTableType_AT_ReAddConstraint
	AlterTableType_AT_ReAddDomainConstraint                      = ast.AlterTableType_AT_ReAddDomainConstraint
	AlterTableType_AT_AlterConstraint                            = ast.AlterTableType_AT_AlterConstraint
	AlterTableType_AT_ValidateConstraint                         = ast.AlterTableType_AT_ValidateConstraint
	AlterTableType_AT_AddIndexConstraint                         = ast.AlterTableType_AT_AddIndexConstraint
	AlterTableType_AT_DropConstraint                             = ast.AlterTableType_AT_DropConstraint
	AlterTableType_AT_ReAddComment                               = ast.AlterTableType_AT_ReAddComment
	AlterTableType_AT_AlterColumnType                            = ast.AlterTableType_AT_AlterColumnType
	AlterTableType_AT_AlterColumnGenericOptions                  = ast.AlterTableType_AT_AlterColumnGenericOptions
	AlterTableType_AT_ChangeOwner                                = ast.AlterTableType_AT_ChangeOwner
	AlterTableType_AT_ClusterOn                                  = ast.AlterTableType_AT_ClusterOn
	AlterTableType_AT_DropCluster                                = ast.AlterTableType_AT_DropCluster
	AlterTableType_AT_SetLogged                                  = ast.AlterTableType_AT_SetLogged
	AlterTableType_AT_SetUnLogged                                = ast.AlterTableType_AT_SetUnLogged
	AlterTableType_AT_DropOids                                   = ast.AlterTableType_AT_DropOids
	AlterTableType_AT_SetAccessMethod                            = ast.AlterTableType_AT_SetAccessMethod
	AlterTableType_AT_SetTableSpace                              = ast.AlterTableType_AT_SetTableSpace
	AlterTableType_AT_SetRelOptions                              = ast.AlterTableType_AT_SetRelOptions
	AlterTableType_AT_ResetRelOptions                            = ast.AlterTableType_AT_ResetRelOptions
	AlterTableType_AT_ReplaceRelOptions                          = ast.AlterTableType_AT_ReplaceRelOptions
	AlterTableType_AT_EnableTrig                                 = ast.AlterTableType_AT_EnableTrig
	AlterTableType_AT_EnableAlwaysTrig                           = ast.AlterTableType_AT_EnableAlwaysTrig
	AlterTableType_AT_EnableReplicaTrig                          = ast.AlterTableType_AT_EnableReplicaTrig
	AlterTableType_AT_DisableTrig                                = ast.AlterTableType_AT_DisableTrig
	AlterTableType_AT_EnableTrigAll                              = ast.AlterTableType_AT_EnableTrigAll
	AlterTableType_AT_DisableTrigAll                             = ast.AlterTableType_AT_DisableTrigAll
	AlterTableType_AT_EnableTrigUser                             = ast.AlterTableType_AT_EnableTrigUser
	AlterTableType_AT_DisableTrigUser                            = ast.AlterTableType_AT_DisableTrigUser
	AlterTableType_AT_EnableRule                                 = ast.AlterTableType_AT_EnableRule
	AlterTableType_AT_EnableAlwaysRule                           = ast.AlterTableType_AT_EnableAlwaysRule
	AlterTableType_AT_EnableReplicaRule                          = ast.AlterTableType_AT_EnableReplicaRule
	AlterTableType_AT_DisableRule                                = ast.AlterTableType_AT_DisableRule
	AlterTableType_AT_AddInherit                                 = ast.AlterTableType_AT_AddInherit
	AlterTableType_AT_DropInherit                                = ast.AlterTableType_AT_DropInherit
	AlterTableType_AT_AddOf                                      = ast.AlterTableType_AT_AddOf
	AlterTableType_AT_DropOf                                     = ast.AlterTableType_AT_DropOf
	AlterTableType_AT_ReplicaIdentity                            = ast.AlterTableType_AT_ReplicaIdentity
	AlterTableType_AT_EnableRowSecurity                          = ast.AlterTableType_AT_EnableRowSecurity
	AlterTableType_AT_DisableRowSecurity                         = ast.AlterTableType_AT_DisableRowSecurity
	AlterTableType_AT_ForceRowSecurity                           = ast.AlterTableType_AT_ForceRowSecurity
	AlterTableType_AT_NoForceRowSecurity                         = ast.AlterTableType_AT_NoForceRowSecurity
	AlterTableType_AT_GenericOptions                             = ast.AlterTableType_AT_GenericOptions
	AlterTableType_AT_AttachPartition                            = ast.AlterTableType_AT_AttachPartition
	AlterTableType_AT_DetachPartition                            = ast.AlterTableType_AT_DetachPartition
	AlterTableType_AT_DetachPartitionFinalize                    = ast.AlterTableType_AT_DetachPartitionFinalize
	AlterTableType_AT_AddIdentity                                = ast.AlterTableType_AT_AddIdentity
	AlterTableType_AT_SetIdentity                                = ast.AlterTableType_AT_SetIdentity
	AlterTableType_AT_DropIdentity                               = ast.AlterTableType_AT_DropIdentity
	AlterTableType_AT_ReAddStatistics                            = ast.AlterTableType_AT_ReAddStatistics
	GrantTargetType_GRANT_TARGET_TYPE_UNDEFINED                  = ast.GrantTargetType_GRANT_TARGET_TYPE_UNDEFINED
	GrantTargetType_ACL_TARGET_OBJECT                            = ast.GrantTargetType_ACL_TARGET_OBJECT
	GrantTargetType_ACL_TARGET_ALL_IN_SCHEMA                     = ast.GrantTargetType_ACL_TARGET_ALL_IN_SCHEMA
	GrantTargetType_ACL_TARGET_DEFAULTS                          = ast.GrantTargetType_ACL_TARGET_DEFAULTS
	VariableSetKind_VARIABLE_SET_KIND_UNDEFINED                  = ast.VariableSetKind_VARIABLE_SET_KIND_UNDEFINED
	VariableSetKind_VAR_SET_VALUE                                = ast.VariableSetKind_VAR_SET_VALUE
	VariableSetKind_VAR_SET_DEFAULT                              = ast.VariableSetKind_VAR_SET_DEFAULT
	VariableSetKind_VAR_SET_CURRENT                              = ast.VariableSetKind_VAR_SET_CURRENT
	VariableSetKind_VAR_SET_MULTI                                = ast.VariableSetKind_VAR_SET_MULTI
	VariableSetKind_VAR_RESET                                    = ast.VariableSetKind_VAR_RESET
	VariableSetKind_VAR_RESET_ALL                                = ast.VariableSetKind_VAR_RESET_ALL
	ConstrType_CONSTR_TYPE_UNDEFINED                             = ast.ConstrType_CONSTR_TYPE_UNDEFINED
	ConstrType_CONSTR_NULL                                       = ast.ConstrType_CONSTR_NULL
	ConstrType_CONSTR_NOTNULL                                    = ast.ConstrType_CONSTR_NOTNULL
	ConstrType_CONSTR_DEFAULT                                    = ast.ConstrType_CONSTR_DEFAULT
	ConstrType_CONSTR_IDENTITY                                   = ast.ConstrType_CONSTR_IDENTITY
	ConstrType_CONSTR_GENERATED                                  = ast.ConstrType_CONSTR_GENERATED
	ConstrType_CONSTR_CHECK                                      = ast.ConstrType_CONSTR_CHECK
	ConstrType_CONSTR_PRIMARY                                    = ast.ConstrType_CONSTR_PRIMARY
	ConstrType_CONSTR_UNIQUE                                     = ast.ConstrType_CONSTR_UNIQUE
	ConstrType_CONSTR_EXCLUSION                                  = ast.ConstrType_CONSTR_EXCLUSION
	ConstrType_CONSTR_FOREIGN                                    = ast.ConstrType_CONSTR_FOREIGN
	ConstrType_CONSTR_ATTR_DEFERRABLE                            = ast.ConstrType_CONSTR_ATTR_DEFERRABLE
	ConstrType_CONSTR_ATTR_NOT_DEFERRABLE                        = ast.ConstrType_CONSTR_ATTR_NOT_DEFERRABLE
	ConstrType_CONSTR_ATTR_DEFERRED                              = ast.ConstrType_CONSTR_ATTR_DEFERRED
	ConstrType_CONSTR_ATTR_IMMEDIATE                             = ast.ConstrType_CONSTR_ATTR_IMMEDIATE
	ConstrType_CONSTR_ATTR_ENFORCED                              = ast.ConstrType_CONSTR_ATTR_ENFORCED
	ConstrType_CONSTR_ATTR_NOT_ENFORCED                          = ast.ConstrType_CONSTR_ATTR_NOT_ENFORCED
	ImportForeignSchemaType_IMPORT_FOREIGN_SCHEMA_TYPE_UNDEFINED = ast.ImportForeignSchemaType_IMPORT_FOREIGN_SCHEMA_TYPE_UNDEFINED
	ImportForeignSchemaType_FDW_IMPORT_SCHEMA_ALL                = ast.ImportForeignSchemaType_FDW_IMPORT_SCHEMA_ALL
	ImportForeignSchemaType_FDW_IMPORT_SCHEMA_LIMIT_TO           = ast.ImportForeignSchemaType_FDW_IMPORT_SCHEMA_LIMIT_TO
	ImportForeignSchemaType_FDW_IMPORT_SCHEMA_EXCEPT             = ast.ImportForeignSchemaType_FDW_IMPORT_SCHEMA_EXCEPT
	RoleStmtType_ROLE_STMT_TYPE_UNDEFINED                        = ast.RoleStmtType_ROLE_STMT_TYPE_UNDEFINED
	RoleStmtType_ROLESTMT_ROLE                                   = ast.RoleStmtType_ROLESTMT_ROLE
	RoleStmtType_ROLESTMT_USER                                   = ast.RoleStmtType_ROLESTMT_USER
	RoleStmtType_ROLESTMT_GROUP                                  = ast.RoleStmtType_ROLESTMT_GROUP
	FetchDirection_FETCH_DIRECTION_UNDEFINED                     = ast.FetchDirection_FETCH_DIRECTION_UNDEFINED
	FetchDirection_FETCH_FORWARD                                 = ast.FetchDirection_FETCH_FORWARD
	FetchDirection_FETCH_BACKWARD                                = ast.FetchDirection_FETCH_BACKWARD
	FetchDirection_FETCH_ABSOLUTE                                = ast.FetchDirection_FETCH_ABSOLUTE
	FetchDirection_FETCH_RELATIVE                                = ast.FetchDirection_FETCH_RELATIVE
	FunctionParameterMode_FUNCTION_PARAMETER_MODE_UNDEFINED      = ast.FunctionParameterMode_FUNCTION_PARAMETER_MODE_UNDEFINED
	FunctionParameterMode_FUNC_PARAM_IN                          = ast.FunctionParameterMode_FUNC_PARAM_IN
	FunctionParameterMode_FUNC_PARAM_OUT                         = ast.FunctionParameterMode_FUNC_PARAM_OUT
	FunctionParameterMode_FUNC_PARAM_INOUT                       = ast.FunctionParameterMode_FUNC_PARAM_INOUT
	FunctionParameterMode_FUNC_PARAM_VARIADIC                    = ast.FunctionParameterMode_FUNC_PARAM_VARIADIC
	FunctionParameterMode_FUNC_PARAM_TABLE                       = ast.FunctionParameterMode_FUNC_PARAM_TABLE
	FunctionParameterMode_FUNC_PARAM_DEFAULT                     = ast.FunctionParameterMode_FUNC_PARAM_DEFAULT
	TransactionStmtKind_TRANSACTION_STMT_KIND_UNDEFINED          = ast.TransactionStmtKind_TRANSACTION_STMT_KIND_UNDEFINED
	TransactionStmtKind_TRANS_STMT_BEGIN                         = ast.TransactionStmtKind_TRANS_STMT_BEGIN
	TransactionStmtKind_TRANS_STMT_START                         = ast.TransactionStmtKind_TRANS_STMT_START
	TransactionStmtKind_TRANS_STMT_COMMIT                        = ast.TransactionStmtKind_TRANS_STMT_COMMIT
	TransactionStmtKind_TRANS_STMT_ROLLBACK                      = ast.TransactionStmtKind_TRANS_STMT_ROLLBACK
	TransactionStmtKind_TRANS_STMT_SAVEPOINT                     = ast.TransactionStmtKind_TRANS_STMT_SAVEPOINT
	TransactionStmtKind_TRANS_STMT_RELEASE                       = ast.TransactionStmtKind_TRANS_STMT_RELEASE
	TransactionStmtKind_TRANS_STMT_ROLLBACK_TO                   = ast.TransactionStmtKind_TRANS_STMT_ROLLBACK_TO
	TransactionStmtKind_TRANS_STMT_PREPARE                       = ast.TransactionStmtKind_TRANS_STMT_PREPARE
	TransactionStmtKind_TRANS_STMT_COMMIT_PREPARED               = ast.TransactionStmtKind_TRANS_STMT_COMMIT_PREPARED
	TransactionStmtKind_TRANS_STMT_ROLLBACK_PREPARED             = ast.TransactionStmtKind_TRANS_STMT_ROLLBACK_PREPARED
	ViewCheckOption_VIEW_CHECK_OPTION_UNDEFINED                  = ast.ViewCheckOption_VIEW_CHECK_OPTION_UNDEFINED
	ViewCheckOption_NO_CHECK_OPTION                              = ast.ViewCheckOption_NO_CHECK_OPTION
	ViewCheckOption_LOCAL_CHECK_OPTION                           = ast.ViewCheckOption_LOCAL_CHECK_OPTION
	ViewCheckOption_CASCADED_CHECK_OPTION                        = ast.ViewCheckOption_CASCADED_CHECK_OPTION
	DiscardMode_DISCARD_MODE_UNDEFINED                           = ast.DiscardMode_DISCARD_MODE_UNDEFINED
	DiscardMode_DISCARD_ALL                                      = ast.DiscardMode_DISCARD_ALL
	DiscardMode_DISCARD_PLANS                                    = ast.DiscardMode_DISCARD_PLANS
	DiscardMode_DISCARD_SEQUENCES                                = ast.DiscardMode_DISCARD_SEQUENCES
	DiscardMode_DISCARD_TEMP                                     = ast.DiscardMode_DISCARD_TEMP
	ReindexObjectType_REINDEX_OBJECT_TYPE_UNDEFINED              = ast.ReindexObjectType_REINDEX_OBJECT_TYPE_UNDEFINED
	ReindexObjectType_REINDEX_OBJECT_INDEX                       = ast.ReindexObjectType_REINDEX_OBJECT_INDEX
	ReindexObjectType_REINDEX_OBJECT_TABLE                       = ast.ReindexObjectType_REINDEX_OBJECT_TABLE
	ReindexObjectType_REINDEX_OBJECT_SCHEMA                      = ast.ReindexObjectType_REINDEX_OBJECT_SCHEMA
	ReindexObjectType_REINDEX_OBJECT_SYSTEM                      = ast.ReindexObjectType_REINDEX_OBJECT_SYSTEM
	ReindexObjectType_REINDEX_OBJECT_DATABASE                    = ast.ReindexObjectType_REINDEX_OBJECT_DATABASE
	AlterTSConfigType_ALTER_TSCONFIG_TYPE_UNDEFINED              = ast.AlterTSConfigType_ALTER_TSCONFIG_TYPE_UNDEFINED
	AlterTSConfigType_ALTER_TSCONFIG_ADD_MAPPING                 = ast.AlterTSConfigType_ALTER_TSCONFIG_ADD_MAPPING
	AlterTSConfigType_ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN     = ast.AlterTSConfigType_ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN
	AlterTSConfigType_ALTER_TSCONFIG_REPLACE_DICT                = ast.AlterTSConfigType_ALTER_TSCONFIG_REPLACE_DICT
	AlterTSConfigType_ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN      = ast.AlterTSConfigType_ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN
	AlterTSConfigType_ALTER_TSCONFIG_DROP_MAPPING                = ast.AlterTSConfigType_ALTER_TSCONFIG_DROP_MAPPING
	PublicationObjSpecType_PUBLICATION_OBJ_SPEC_TYPE_UNDEFINED   = ast.PublicationObjSpecType_PUBLICATION_OBJ_SPEC_TYPE_UNDEFINED
	PublicationObjSpecType_PUBLICATIONOBJ_TABLE                  = ast.PublicationObjSpecType_PUBLICATIONOBJ_TABLE
	PublicationObjSpecType_PUBLICATIONOBJ_TABLES_IN_SCHEMA       = ast.PublicationObjSpecType_PUBLICATIONOBJ_TABLES_IN_SCHEMA
	PublicationObjSpecType_PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA   = ast.PublicationObjSpecType_PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA
	PublicationObjSpecType_PUBLICATIONOBJ_CONTINUATION           = ast.PublicationObjSpecType_PUBLICATIONOBJ_CONTINUATION
	AlterPublicationAction_ALTER_PUBLICATION_ACTION_UNDEFINED    = ast.AlterPublicationAction_ALTER_PUBLICATION_ACTION_UNDEFINED
	AlterPublicationAction_AP_AddObjects                         = ast.AlterPublicationAction_AP_AddObjects
	AlterPublicationAction_AP_DropObjects                        = ast.AlterPublicationAction_AP_DropObjects
	AlterPublicationAction_AP_SetObjects                         = ast.AlterPublicationAction_AP_SetObjects
	AlterSubscriptionType_ALTER_SUBSCRIPTION_TYPE_UNDEFINED      = ast.AlterSubscriptionType_ALTER_SUBSCRIPTION_TYPE_UNDEFINED
	AlterSubscriptionType_ALTER_SUBSCRIPTION_OPTIONS             = ast.AlterSubscriptionType_ALTER_SUBSCRIPTION_OPTIONS
	AlterSubscriptionType_ALTER_SUBSCRIPTION_CONNECTION          = ast.AlterSubscriptionType_ALTER_SUBSCRIPTION_CONNECTION
	AlterSubscriptionType_ALTER_SUBSCRIPTION_SET_PUBLICATION     = ast.AlterSubscriptionType_ALTER_SUBSCRIPTION_SET_PUBLICATION
	AlterSubscriptionType_ALTER_SUBSCRIPTION_ADD_PUBLICATION     = ast.AlterSubscriptionType_ALTER_SUBSCRIPTION_ADD_PUBLICATION
	AlterSubscriptionType_ALTER_SUBSCRIPTION_DROP_PUBLICATION    = ast.AlterSubscriptionType_ALTER_SUBSCRIPTION_DROP_PUBLICATION
	AlterSubscriptionType_ALTER_SUBSCRIPTION_REFRESH             = ast.AlterSubscriptionType_ALTER_SUBSCRIPTION_REFRESH
	AlterSubscriptionType_ALTER_SUBSCRIPTION_ENABLED             = ast.AlterSubscriptionType_ALTER_SUBSCRIPTION_ENABLED
	AlterSubscriptionType_ALTER_SUBSCRIPTION_SKIP                = ast.AlterSubscriptionType_ALTER_SUBSCRIPTION_SKIP
	OverridingKind_OVERRIDING_KIND_UNDEFINED                     = ast.OverridingKind_OVERRIDING_KIND_UNDEFINED
	OverridingKind_OVERRIDING_NOT_SET                            = ast.OverridingKind_OVERRIDING_NOT_SET
	OverridingKind_OVERRIDING_USER_VALUE                         = ast.OverridingKind_OVERRIDING_USER_VALUE
	OverridingKind_OVERRIDING_SYSTEM_VALUE                       = ast.OverridingKind_OVERRIDING_SYSTEM_VALUE
	OnCommitAction_ON_COMMIT_ACTION_UNDEFINED                    = ast.OnCommitAction_ON_COMMIT_ACTION_UNDEFINED
	OnCommitAction_ONCOMMIT_NOOP                                 = ast.OnCommitAction_ONCOMMIT_NOOP
	OnCommitAction_ONCOMMIT_PRESERVE_ROWS                        = ast.OnCommitAction_ONCOMMIT_PRESERVE_ROWS
	OnCommitAction_ONCOMMIT_DELETE_ROWS                          = ast.OnCommitAction_ONCOMMIT_DELETE_ROWS
	OnCommitAction_ONCOMMIT_DROP                                 = ast.OnCommitAction_ONCOMMIT_DROP
	TableFuncType_TABLE_FUNC_TYPE_UNDEFINED                      = ast.TableFuncType_TABLE_FUNC_TYPE_UNDEFINED
	TableFuncType_TFT_XMLTABLE                                   = ast.TableFuncType_TFT_XMLTABLE
	TableFuncType_TFT_JSON_TABLE                                 = ast.TableFuncType_TFT_JSON_TABLE
	VarReturningType_VAR_RETURNING_TYPE_UNDEFINED                = ast.VarReturningType_VAR_RETURNING_TYPE_UNDEFINED
	VarReturningType_VAR_RETURNING_DEFAULT                       = ast.VarReturningType_VAR_RETURNING_DEFAULT
	VarReturningType_VAR_RETURNING_OLD                           = ast.VarReturningType_VAR_RETURNING_OLD
	VarReturningType_VAR_RETURNING_NEW                           = ast.VarReturningType_VAR_RETURNING_NEW
	ParamKind_PARAM_KIND_UNDEFINED                               = ast.ParamKind_PARAM_KIND_UNDEFINED
	ParamKind_PARAM_EXTERN                                       = ast.ParamKind_PARAM_EXTERN
	ParamKind_PARAM_EXEC                                         = ast.ParamKind_PARAM_EXEC
	ParamKind_PARAM_SUBLINK                                      = ast.ParamKind_PARAM_SUBLINK
	ParamKind_PARAM_MULTIEXPR                                    = ast.ParamKind_PARAM_MULTIEXPR
	CoercionContext_COERCION_CONTEXT_UNDEFINED                   = ast.CoercionContext_COERCION_CONTEXT_UNDEFINED
	CoercionContext_COERCION_IMPLICIT                            = ast.CoercionContext_COERCION_IMPLICIT
	CoercionContext_COERCION_ASSIGNMENT                          = ast.CoercionContext_COERCION_ASSIGNMENT
	CoercionContext_COERCION_PLPGSQL                             = ast.CoercionContext_COERCION_PLPGSQL
	CoercionContext_COERCION_EXPLICIT                            = ast.CoercionContext_COERCION_EXPLICIT
	CoercionForm_COERCION_FORM_UNDEFINED                         = ast.CoercionForm_COERCION_FORM_UNDEFINED
	CoercionForm_COERCE_EXPLICIT_CALL                            = ast.CoercionForm_COERCE_EXPLICIT_CALL
	CoercionForm_COERCE_EXPLICIT_CAST                            = ast.CoercionForm_COERCE_EXPLICIT_CAST
	CoercionForm_COERCE_IMPLICIT_CAST                            = ast.CoercionForm_COERCE_IMPLICIT_CAST
	CoercionForm_COERCE_SQL_SYNTAX                               = ast.CoercionForm_COERCE_SQL_SYNTAX
	BoolExprType_BOOL_EXPR_TYPE_UNDEFINED                        = ast.BoolExprType_BOOL_EXPR_TYPE_UNDEFINED
	BoolExprType_AND_EXPR                                        = ast.BoolExprType_AND_EXPR
	BoolExprType_OR_EXPR                                         = ast.BoolExprType_OR_EXPR
	BoolExprType_NOT_EXPR                                        = ast.BoolExprType_NOT_EXPR
	SubLinkType_SUB_LINK_TYPE_UNDEFINED                          = ast.SubLinkType_SUB_LINK_TYPE_UNDEFINED
	SubLinkType_EXISTS_SUBLINK                                   = ast.SubLinkType_EXISTS_SUBLINK
	SubLinkType_ALL_SUBLINK                                      = ast.SubLinkType_ALL_SUBLINK
	SubLinkType_ANY_SUBLINK                                      = ast.SubLinkType_ANY_SUBLINK
	SubLinkType_ROWCOMPARE_SUBLINK                               = ast.SubLinkType_ROWCOMPARE_SUBLINK
	SubLinkType_EXPR_SUBLINK                                     = ast.SubLinkType_EXPR_SUBLINK
	SubLinkType_MULTIEXPR_SUBLINK                                = ast.SubLinkType_MULTIEXPR_SUBLINK
	SubLinkType_ARRAY_SUBLINK                                    = ast.SubLinkType_ARRAY_SUBLINK
	SubLinkType_CTE_SUBLINK                                      = ast.SubLinkType_CTE_SUBLINK
	MinMaxOp_MIN_MAX_OP_UNDEFINED                                = ast.MinMaxOp_MIN_MAX_OP_UNDEFINED
	MinMaxOp_IS_GREATEST                                         = ast.MinMaxOp_IS_GREATEST
	MinMaxOp_IS_LEAST                                            = ast.MinMaxOp_IS_LEAST
	SQLValueFunctionOp_SQLVALUE_FUNCTION_OP_UNDEFINED            = ast.SQLValueFunctionOp_SQLVALUE_FUNCTION_OP_UNDEFINED
	SQLValueFunctionOp_SVFOP_CURRENT_DATE                        = ast.SQLValueFunctionOp_SVFOP_CURRENT_DATE
	SQLValueFunctionOp_SVFOP_CURRENT_TIME                        = ast.SQLValueFunctionOp_SVFOP_CURRENT_TIME
	SQLValueFunctionOp_SVFOP_CURRENT_TIME_N                      = ast.SQLValueFunctionOp_SVFOP_CURRENT_TIME_N
	SQLValueFunctionOp_SVFOP_CURRENT_TIMESTAMP                   = ast.SQLValueFunctionOp_SVFOP_CURRENT_TIMESTAMP
	SQLValueFunctionOp_SVFOP_CURRENT_TIMESTAMP_N                 = ast.SQLValueFunctionOp_SVFOP_CURRENT_TIMESTAMP_N
	SQLValueFunctionOp_SVFOP_LOCALTIME                           = ast.SQLValueFunctionOp_SVFOP_LOCALTIME
	SQLValueFunctionOp_SVFOP_LOCALTIME_N                         = ast.SQLValueFunctionOp_SVFOP_LOCALTIME_N
	SQLValueFunctionOp_SVFOP_LOCALTIMESTAMP                      = ast.SQLValueFunctionOp_SVFOP_LOCALTIMESTAMP
	SQLValueFunctionOp_SVFOP_LOCALTIMESTAMP_N                    = ast.SQLValueFunctionOp_SVFOP_LOCALTIMESTAMP_N
	SQLValueFunctionOp_SVFOP_CURRENT_ROLE                        = ast.SQLValueFunctionOp_SVFOP_CURRENT_ROLE
	SQLValueFunctionOp_SVFOP_CURRENT_USER                        = ast.SQLValueFunctionOp_SVFOP_CURRENT_USER
	SQLValueFunctionOp_SVFOP_USER                                = ast.SQLValueFunctionOp_SVFOP_USER
	SQLValueFunctionOp_SVFOP_SESSION_USER                        = ast.SQLValueFunctionOp_SVFOP_SESSION_USER
	SQLValueFunctionOp_SVFOP_CURRENT_CATALOG                     = ast.SQLValueFunctionOp_SVFOP_CURRENT_CATALOG
	SQLValueFunctionOp_SVFOP_CURRENT_SCHEMA                      = ast.SQLValueFunctionOp_SVFOP_CURRENT_SCHEMA
	XmlExprOp_XML_EXPR_OP_UNDEFINED                              = ast.XmlExprOp_XML_EXPR_OP_UNDEFINED
	XmlExprOp_IS_XMLCONCAT                                       = ast.XmlExprOp_IS_XMLCONCAT
	XmlExprOp_IS_XMLELEMENT                                      = ast.XmlExprOp_IS_XMLELEMENT
	XmlExprOp_IS_XMLFOREST                                       = ast.XmlExprOp_IS_XMLFOREST
	XmlExprOp_IS_XMLPARSE                                        = ast.XmlExprOp_IS_XMLPARSE
	XmlExprOp_IS_XMLPI                                           = ast.XmlExprOp_IS_XMLPI
	XmlExprOp_IS_XMLROOT                                         = ast.XmlExprOp_IS_XMLROOT
	XmlExprOp_IS_XMLSERIALIZE                                    = ast.XmlExprOp_IS_XMLSERIALIZE
	XmlExprOp_IS_DOCUMENT                                        = ast.XmlExprOp_IS_DOCUMENT
	XmlOptionType_XML_OPTION_TYPE_UNDEFINED                      = ast.XmlOptionType_XML_OPTION_TYPE_UNDEFINED
	XmlOptionType_XMLOPTION_DOCUMENT                             = ast.XmlOptionType_XMLOPTION_DOCUMENT
	XmlOptionType_XMLOPTION_CONTENT                              = ast.XmlOptionType_XMLOPTION_CONTENT
	JsonEncoding_JSON_ENCODING_UNDEFINED                         = ast.JsonEncoding_JSON_ENCODING_UNDEFINED
	JsonEncoding_JS_ENC_DEFAULT                                  = ast.JsonEncoding_JS_ENC_DEFAULT
	JsonEncoding_JS_ENC_UTF8                                     = ast.JsonEncoding_JS_ENC_UTF8
	JsonEncoding_JS_ENC_UTF16                                    = ast.JsonEncoding_JS_ENC_UTF16
	JsonEncoding_JS_ENC_UTF32                                    = ast.JsonEncoding_JS_ENC_UTF32
	JsonFormatType_JSON_FORMAT_TYPE_UNDEFINED                    = ast.JsonFormatType_JSON_FORMAT_TYPE_UNDEFINED
	JsonFormatType_JS_FORMAT_DEFAULT                             = ast.JsonFormatType_JS_FORMAT_DEFAULT
	JsonFormatType_JS_FORMAT_JSON                                = ast.JsonFormatType_JS_FORMAT_JSON
	JsonFormatType_JS_FORMAT_JSONB                               = ast.JsonFormatType_JS_FORMAT_JSONB
	JsonConstructorType_JSON_CONSTRUCTOR_TYPE_UNDEFINED          = ast.JsonConstructorType_JSON_CONSTRUCTOR_TYPE_UNDEFINED
	JsonConstructorType_JSCTOR_JSON_OBJECT                       = ast.JsonConstructorType_JSCTOR_JSON_OBJECT
	JsonConstructorType_JSCTOR_JSON_ARRAY                        = ast.JsonConstructorType_JSCTOR_JSON_ARRAY
	JsonConstructorType_JSCTOR_JSON_OBJECTAGG                    = ast.JsonConstructorType_JSCTOR_JSON_OBJECTAGG
	JsonConstructorType_JSCTOR_JSON_ARRAYAGG                     = ast.JsonConstructorType_JSCTOR_JSON_ARRAYAGG
	JsonConstructorType_JSCTOR_JSON_PARSE                        = ast.JsonConstructorType_JSCTOR_JSON_PARSE
	JsonConstructorType_JSCTOR_JSON_SCALAR                       = ast.JsonConstructorType_JSCTOR_JSON_SCALAR
	JsonConstructorType_JSCTOR_JSON_SERIALIZE                    = ast.JsonConstructorType_JSCTOR_JSON_SERIALIZE
	JsonValueType_JSON_VALUE_TYPE_UNDEFINED                      = ast.JsonValueType_JSON_VALUE_TYPE_UNDEFINED
	JsonValueType_JS_TYPE_ANY                                    = ast.JsonValueType_JS_TYPE_ANY
	JsonValueType_JS_TYPE_OBJECT                                 = ast.JsonValueType_JS_TYPE_OBJECT
	JsonValueType_JS_TYPE_ARRAY                                  = ast.JsonValueType_JS_TYPE_ARRAY
	JsonValueType_JS_TYPE_SCALAR                                 = ast.JsonValueType_JS_TYPE_SCALAR
	JsonWrapper_JSON_WRAPPER_UNDEFINED                           = ast.JsonWrapper_JSON_WRAPPER_UNDEFINED
	JsonWrapper_JSW_UNSPEC                                       = ast.JsonWrapper_JSW_UNSPEC
	JsonWrapper_JSW_NONE                                         = ast.JsonWrapper_JSW_NONE
	JsonWrapper_JSW_CONDITIONAL                                  = ast.JsonWrapper_JSW_CONDITIONAL
	JsonWrapper_JSW_UNCONDITIONAL                                = ast.JsonWrapper_JSW_UNCONDITIONAL
	JsonBehaviorType_JSON_BEHAVIOR_TYPE_UNDEFINED                = ast.JsonBehaviorType_JSON_BEHAVIOR_TYPE_UNDEFINED
	JsonBehaviorType_JSON_BEHAVIOR_NULL                          = ast.JsonBehaviorType_JSON_BEHAVIOR_NULL
	JsonBehaviorType_JSON_BEHAVIOR_ERROR                         = ast.JsonBehaviorType_JSON_BEHAVIOR_ERROR
	JsonBehaviorType_JSON_BEHAVIOR_EMPTY                         = ast.JsonBehaviorType_JSON_BEHAVIOR_EMPTY
	JsonBehaviorType_JSON_BEHAVIOR_TRUE                          = ast.JsonBehaviorType_JSON_BEHAVIOR_TRUE
	JsonBehaviorType_JSON_BEHAVIOR_FALSE                         = ast.JsonBehaviorType_JSON_BEHAVIOR_FALSE
	JsonBehaviorType_JSON_BEHAVIOR_UNKNOWN                       = ast.JsonBehaviorType_JSON_BEHAVIOR_UNKNOWN
	JsonBehaviorType_JSON_BEHAVIOR_EMPTY_ARRAY                   = ast.JsonBehaviorType_JSON_BEHAVIOR_EMPTY_ARRAY
	JsonBehaviorType_JSON_BEHAVIOR_EMPTY_OBJECT                  = ast.JsonBehaviorType_JSON_BEHAVIOR_EMPTY_OBJECT
	JsonBehaviorType_JSON_BEHAVIOR_DEFAULT                       = ast.JsonBehaviorType_JSON_BEHAVIOR_DEFAULT
	JsonExprOp_JSON_EXPR_OP_UNDEFINED                            = ast.JsonExprOp_JSON_EXPR_OP_UNDEFINED
	JsonExprOp_JSON_EXISTS_OP                                    = ast.JsonExprOp_JSON_EXISTS_OP
	JsonExprOp_JSON_QUERY_OP                                     = ast.JsonExprOp_JSON_QUERY_OP
	JsonExprOp_JSON_VALUE_OP                                     = ast.JsonExprOp_JSON_VALUE_OP
	JsonExprOp_JSON_TABLE_OP                                     = ast.JsonExprOp_JSON_TABLE_OP
	NullTestType_NULL_TEST_TYPE_UNDEFINED                        = ast.NullTestType_NULL_TEST_TYPE_UNDEFINED
	NullTestType_IS_NULL                                         = ast.NullTestType_IS_NULL
	NullTestType_IS_NOT_NULL                                     = ast.NullTestType_IS_NOT_NULL
	BoolTestType_BOOL_TEST_TYPE_UNDEFINED                        = ast.BoolTestType_BOOL_TEST_TYPE_UNDEFINED
	BoolTestType_IS_TRUE                                         = ast.BoolTestType_IS_TRUE
	BoolTestType_IS_NOT_TRUE                                     = ast.BoolTestType_IS_NOT_TRUE
	BoolTestType_IS_FALSE                                        = ast.BoolTestType_IS_FALSE
	BoolTestType_IS_NOT_FALSE                                    = ast.BoolTestType_IS_NOT_FALSE
	BoolTestType_IS_UNKNOWN                                      = ast.BoolTestType_IS_UNKNOWN
	BoolTestType_IS_NOT_UNKNOWN                                  = ast.BoolTestType_IS_NOT_UNKNOWN
	MergeMatchKind_MERGE_MATCH_KIND_UNDEFINED                    = ast.MergeMatchKind_MERGE_MATCH_KIND_UNDEFINED
	MergeMatchKind_MERGE_WHEN_MATCHED                            = ast.MergeMatchKind_MERGE_WHEN_MATCHED
	MergeMatchKind_MERGE_WHEN_NOT_MATCHED_BY_SOURCE              = ast.MergeMatchKind_MERGE_WHEN_NOT_MATCHED_BY_SOURCE
	MergeMatchKind_MERGE_WHEN_NOT_MATCHED_BY_TARGET              = ast.MergeMatchKind_MERGE_WHEN_NOT_MATCHED_BY_TARGET
	CmdType_CMD_TYPE_UNDEFINED                                   = ast.CmdType_CMD_TYPE_UNDEFINED
	CmdType_CMD_UNKNOWN                                          = ast.CmdType_CMD_UNKNOWN
	CmdType_CMD_SELECT                                           = ast.CmdType_CMD_SELECT
	CmdType_CMD_UPDATE                                           = ast.CmdType_CMD_UPDATE
	CmdType_CMD_INSERT                                           = ast.CmdType_CMD_INSERT
	CmdType_CMD_DELETE                                           = ast.CmdType_CMD_DELETE
	CmdType_CMD_MERGE                                            = ast.CmdType_CMD_MERGE
	CmdType_CMD_UTILITY                                          = ast.CmdType_CMD_UTILITY
	CmdType_CMD_NOTHING                                          = ast.CmdType_CMD_NOTHING
	JoinType_JOIN_TYPE_UNDEFINED                                 = ast.JoinType_JOIN_TYPE_UNDEFINED
	JoinType_JOIN_INNER                                          = ast.JoinType_JOIN_INNER
	JoinType_JOIN_LEFT                                           = ast.JoinType_JOIN_LEFT
	JoinType_JOIN_FULL                                           = ast.JoinType_JOIN_FULL
	JoinType_JOIN_RIGHT                                          = ast.JoinType_JOIN_RIGHT
	JoinType_JOIN_SEMI                                           = ast.JoinType_JOIN_SEMI
	JoinType_JOIN_ANTI                                           = ast.JoinType_JOIN_ANTI
	JoinType_JOIN_RIGHT_SEMI                                     = ast.JoinType_JOIN_RIGHT_SEMI
	JoinType_JOIN_RIGHT_ANTI                                     = ast.JoinType_JOIN_RIGHT_ANTI
	JoinType_JOIN_UNIQUE_OUTER                                   = ast.JoinType_JOIN_UNIQUE_OUTER
	JoinType_JOIN_UNIQUE_INNER                                   = ast.JoinType_JOIN_UNIQUE_INNER
	AggStrategy_AGG_STRATEGY_UNDEFINED                           = ast.AggStrategy_AGG_STRATEGY_UNDEFINED
	AggStrategy_AGG_PLAIN                                        = ast.AggStrategy_AGG_PLAIN
	AggStrategy_AGG_SORTED                                       = ast.AggStrategy_AGG_SORTED
	AggStrategy_AGG_HASHED                                       = ast.AggStrategy_AGG_HASHED
	AggStrategy_AGG_MIXED                                        = ast.AggStrategy_AGG_MIXED
	AggSplit_AGG_SPLIT_UNDEFINED                                 = ast.AggSplit_AGG_SPLIT_UNDEFINED
	AggSplit_AGGSPLIT_SIMPLE                                     = ast.AggSplit_AGGSPLIT_SIMPLE
	AggSplit_AGGSPLIT_INITIAL_SERIAL                             = ast.AggSplit_AGGSPLIT_INITIAL_SERIAL
	AggSplit_AGGSPLIT_FINAL_DESERIAL                             = ast.AggSplit_AGGSPLIT_FINAL_DESERIAL
	SetOpCmd_SET_OP_CMD_UNDEFINED                                = ast.SetOpCmd_SET_OP_CMD_UNDEFINED
	SetOpCmd_SETOPCMD_INTERSECT                                  = ast.SetOpCmd_SETOPCMD_INTERSECT
	SetOpCmd_SETOPCMD_INTERSECT_ALL                              = ast.SetOpCmd_SETOPCMD_INTERSECT_ALL
	SetOpCmd_SETOPCMD_EXCEPT                                     = ast.SetOpCmd_SETOPCMD_EXCEPT
	SetOpCmd_SETOPCMD_EXCEPT_ALL                                 = ast.SetOpCmd_SETOPCMD_EXCEPT_ALL
	SetOpStrategy_SET_OP_STRATEGY_UNDEFINED                      = ast.SetOpStrategy_SET_OP_STRATEGY_UNDEFINED
	SetOpStrategy_SETOP_SORTED                                   = ast.SetOpStrategy_SETOP_SORTED
	SetOpStrategy_SETOP_HASHED                                   = ast.SetOpStrategy_SETOP_HASHED
	OnConflictAction_ON_CONFLICT_ACTION_UNDEFINED                = ast.OnConflictAction_ON_CONFLICT_ACTION_UNDEFINED
	OnConflictAction_ONCONFLICT_NONE                             = ast.OnConflictAction_ONCONFLICT_NONE
	OnConflictAction_ONCONFLICT_NOTHING                          = ast.OnConflictAction_ONCONFLICT_NOTHING
	OnConflictAction_ONCONFLICT_UPDATE                           = ast.OnConflictAction_ONCONFLICT_UPDATE
	LimitOption_LIMIT_OPTION_UNDEFINED                           = ast.LimitOption_LIMIT_OPTION_UNDEFINED
	LimitOption_LIMIT_OPTION_DEFAULT                             = ast.LimitOption_LIMIT_OPTION_DEFAULT
	LimitOption_LIMIT_OPTION_COUNT                               = ast.LimitOption_LIMIT_OPTION_COUNT
	LimitOption_LIMIT_OPTION_WITH_TIES                           = ast.LimitOption_LIMIT_OPTION_WITH_TIES
	LockClauseStrength_LOCK_CLAUSE_STRENGTH_UNDEFINED            = ast.LockClauseStrength_LOCK_CLAUSE_STRENGTH_UNDEFINED
	LockClauseStrength_LCS_NONE                                  = ast.LockClauseStrength_LCS_NONE
	LockClauseStrength_LCS_FORKEYSHARE                           = ast.LockClauseStrength_LCS_FORKEYSHARE
	LockClauseStrength_LCS_FORSHARE                              = ast.LockClauseStrength_LCS_FORSHARE
	LockClauseStrength_LCS_FORNOKEYUPDATE                        = ast.LockClauseStrength_LCS_FORNOKEYUPDATE
	LockClauseStrength_LCS_FORUPDATE                             = ast.LockClauseStrength_LCS_FORUPDATE
	LockWaitPolicy_LOCK_WAIT_POLICY_UNDEFINED                    = ast.LockWaitPolicy_LOCK_WAIT_POLICY_UNDEFINED
	LockWaitPolicy_LockWaitBlock                                 = ast.LockWaitPolicy_LockWaitBlock
	LockWaitPolicy_LockWaitSkip                                  = ast.LockWaitPolicy_LockWaitSkip
	LockWaitPolicy_LockWaitError                                 = ast.LockWaitPolicy_LockWaitError
	LockTupleMode_LOCK_TUPLE_MODE_UNDEFINED                      = ast.LockTupleMode_LOCK_TUPLE_MODE_UNDEFINED
	LockTupleMode_LockTupleKeyShare                              = ast.LockTupleMode_LockTupleKeyShare
	LockTupleMode_LockTupleShare                                 = ast.LockTupleMode_LockTupleShare
	LockTupleMode_LockTupleNoKeyExclusive                        = ast.LockTupleMode_LockTupleNoKeyExclusive
	LockTupleMode_LockTupleExclusive                             = ast.LockTupleMode_LockTupleExclusive
	CompareType_COMPARE_TYPE_UNDEFINED                           = ast.CompareType_COMPARE_TYPE_UNDEFINED
	CompareType_COMPARE_INVALID                                  = ast.CompareType_COMPARE_INVALID
	CompareType_COMPARE_LT                                       = ast.CompareType_COMPARE_LT
	CompareType_COMPARE_LE                                       = ast.CompareType_COMPARE_LE
	CompareType_COMPARE_EQ                                       = ast.CompareType_COMPARE_EQ
	CompareType_COMPARE_GE                                       = ast.CompareType_COMPARE_GE
	CompareType_COMPARE_GT                                       = ast.CompareType_COMPARE_GT
	CompareType_COMPARE_NE                                       = ast.CompareType_COMPARE_NE
	CompareType_COMPARE_OVERLAP                                  = ast.CompareType_COMPARE_OVERLAP
	CompareType_COMPARE_CONTAINED_BY                             = ast.CompareType_COMPARE_CONTAINED_BY
	KeywordKind_NO_KEYWORD                                       = ast.KeywordKind_NO_KEYWORD
	KeywordKind_UNRESERVED_KEYWORD                               = ast.KeywordKind_UNRESERVED_KEYWORD
	KeywordKind_COL_NAME_KEYWORD                                 = ast.KeywordKind_COL_NAME_KEYWORD
	KeywordKind_TYPE_FUNC_NAME_KEYWORD                           = ast.KeywordKind_TYPE_FUNC_NAME_KEYWORD
	KeywordKind_RESERVED_KEYWORD                                 = ast.KeywordKind_RESERVED_KEYWORD
	Token_NUL                                                    = ast.Token_NUL
	Token_ASCII_36                                               = ast.Token_ASCII_36
	Token_ASCII_37                                               = ast.Token_ASCII_37
	Token_ASCII_40                                               = ast.Token_ASCII_40
	Token_ASCII_41                                               = ast.Token_ASCII_41
	Token_ASCII_42                                               = ast.Token_ASCII_42
	Token_ASCII_43                                               = ast.Token_ASCII_43
	Token_ASCII_44                                               = ast.Token_ASCII_44
	Token_ASCII_45                                               = ast.Token_ASCII_45
	Token_ASCII_46                                               = ast.Token_ASCII_46
	Token_ASCII_47                                               = ast.Token_ASCII_47
	Token_ASCII_58                                               = ast.Token_ASCII_58
	Token_ASCII_59                                               = ast.Token_ASCII_59
	Token_ASCII_60                                               = ast.Token_ASCII_60
	Token_ASCII_61                                               = ast.Token_ASCII_61
	Token_ASCII_62                                               = ast.Token_ASCII_62
	Token_ASCII_63                                               = ast.Token_ASCII_63
	Token_ASCII_91                                               = ast.Token_ASCII_91
	Token_ASCII_92                                               = ast.Token_ASCII_92
	Token_ASCII_93                                               = ast.Token_ASCII_93
	Token_ASCII_94                                               = ast.Token_ASCII_94
	Token_IDENT                                                  = ast.Token_IDENT
	Token_UIDENT                                                 = ast.Token_UIDENT
	Token_FCONST                                                 = ast.Token_FCONST
	Token_SCONST                                                 = ast.Token_SCONST
	Token_USCONST                                                = ast.Token_USCONST
	Token_BCONST                                                 = ast.Token_BCONST
	Token_XCONST                                                 = ast.Token_XCONST
	Token_Op                                                     = ast.Token_Op
	Token_ICONST                                                 = ast.Token_ICONST
	Token_PARAM                                                  = ast.Token_PARAM
	Token_TYPECAST                                               = ast.Token_TYPECAST
	Token_DOT_DOT                                                = ast.Token_DOT_DOT
	Token_COLON_EQUALS                                           = ast.Token_COLON_EQUALS
	Token_EQUALS_GREATER                                         = ast.Token_EQUALS_GREATER
	Token_LESS_EQUALS                                            = ast.Token_LESS_EQUALS
	Token_GREATER_EQUALS                                         = ast.Token_GREATER_EQUALS
	Token_NOT_EQUALS                                             = ast.Token_NOT_EQUALS
	Token_SQL_COMMENT                                            = ast.Token_SQL_COMMENT
	Token_C_COMMENT                                              = ast.Token_C_COMMENT
	Token_ABORT_P                                                = ast.Token_ABORT_P
	Token_ABSENT                                                 = ast.Token_ABSENT
	Token_ABSOLUTE_P                                             = ast.Token_ABSOLUTE_P
	Token_ACCESS                                                 = ast.Token_ACCESS
	Token_ACTION                                                 = ast.Token_ACTION
	Token_ADD_P                                                  = ast.Token_ADD_P
	Token_ADMIN                                                  = ast.Token_ADMIN
	Token_AFTER                                                  = ast.Token_AFTER
	Token_AGGREGATE                                              = ast.Token_AGGREGATE
	Token_ALL                                                    = ast.Token_ALL
	Token_ALSO                                                   = ast.Token_ALSO
	Token_ALTER                                                  = ast.Token_ALTER
	Token_ALWAYS                                                 = ast.Token_ALWAYS
	Token_ANALYSE                                                = ast.Token_ANALYSE
	Token_ANALYZE                                                = ast.Token_ANALYZE
	Token_AND                                                    = ast.Token_AND
	Token_ANY                                                    = ast.Token_ANY
	Token_ARRAY                                                  = ast.Token_ARRAY
	Token_AS                                                     = ast.Token_AS
	Token_ASC                                                    = ast.Token_ASC
	Token_ASENSITIVE                                             = ast.Token_ASENSITIVE
	Token_ASSERTION                                              = ast.Token_ASSERTION
	Token_ASSIGNMENT                                             = ast.Token_ASSIGNMENT
	Token_ASYMMETRIC                                             = ast.Token_ASYMMETRIC
	Token_ATOMIC                                                 = ast.Token_ATOMIC
	Token_AT                                                     = ast.Token_AT
	Token_ATTACH                                                 = ast.Token_ATTACH
	Token_ATTRIBUTE                                              = ast.Token_ATTRIBUTE
	Token_AUTHORIZATION                                          = ast.Token_AUTHORIZATION
	Token_BACKWARD                                               = ast.Token_BACKWARD
	Token_BEFORE                                                 = ast.Token_BEFORE
	Token_BEGIN_P                                                = ast.Token_BEGIN_P
	Token_BETWEEN                                                = ast.Token_BETWEEN
	Token_BIGINT                                                 = ast.Token_BIGINT
	Token_BINARY                                                 = ast.Token_BINARY
	Token_BIT                                                    = ast.Token_BIT
	Token_BOOLEAN_P                                              = ast.Token_BOOLEAN_P
	Token_BOTH                                                   = ast.Token_BOTH
	Token_BREADTH                                                = ast.Token_BREADTH
	Token_BY                                                     = ast.Token_BY
	Token_CACHE                                                  = ast.Token_CACHE
	Token_CALL                                                   = ast.Token_CALL
	Token_CALLED                                                 = ast.Token_CALLED
	Token_CASCADE                                                = ast.Token_CASCADE
	Token_CASCADED                                               = ast.Token_CASCADED
	Token_CASE                                                   = ast.Token_CASE
	Token_CAST                                                   = ast.Token_CAST
	Token_CATALOG_P                                              = ast.Token_CATALOG_P
	Token_CHAIN                                                  = ast.Token_CHAIN
	Token_CHAR_P                                                 = ast.Token_CHAR_P
	Token_CHARACTER                                              = ast.Token_CHARACTER
	Token_CHARACTERISTICS                                        = ast.Token_CHARACTERISTICS
	Token_CHECK                                                  = ast.Token_CHECK
	Token_CHECKPOINT                                             = ast.Token_CHECKPOINT
	Token_CLASS                                                  = ast.Token_CLASS
	Token_CLOSE                                                  = ast.Token_CLOSE
	Token_CLUSTER                                                = ast.Token_CLUSTER
	Token_COALESCE                                               = ast.Token_COALESCE
	Token_COLLATE                                                = ast.Token_COLLATE
	Token_COLLATION                                              = ast.Token_COLLATION
	Token_COLUMN                                                 = ast.Token_COLUMN
	Token_COLUMNS                                                = ast.Token_COLUMNS
	Token_COMMENT                                                = ast.Token_COMMENT
	Token_COMMENTS                                               = ast.Token_COMMENTS
	Token_COMMIT                                                 = ast.Token_COMMIT
	Token_COMMITTED                                              = ast.Token_COMMITTED
	Token_COMPRESSION                                            = ast.Token_COMPRESSION
	Token_CONCURRENTLY                                           = ast.Token_CONCURRENTLY
	Token_CONDITIONAL                                            = ast.Token_CONDITIONAL
	Token_CONFIGURATION                                          = ast.Token_CONFIGURATION
	Token_CONFLICT                                               = ast.Token_CONFLICT
	Token_CONNECTION                                             = ast.Token_CONNECTION
	Token_CONSTRAINT                                             = ast.Token_CONSTRAINT
	Token_CONSTRAINTS                                            = ast.Token_CONSTRAINTS
	Token_CONTENT_P                                              = ast.Token_CONTENT_P
	Token_CONTINUE_P                                             = ast.Token_CONTINUE_P
	Token_CONVERSION_P                                           = ast.Token_CONVERSION_P
	Token_COPY                                                   = ast.Token_COPY
	Token_COST                                                   = ast.Token_COST
	Token_CREATE                                                 = ast.Token_CREATE
	Token_CROSS                                                  = ast.Token_CROSS
	Token_CSV                                                    = ast.Token_CSV
	Token_CUBE                                                   = ast.Token_CUBE
	Token_CURRENT_P                                              = ast.Token_CURRENT_P
	Token_CURRENT_CATALOG                                        = ast.Token_CURRENT_CATALOG
	Token_CURRENT_DATE                                           = ast.Token_CURRENT_DATE
	Token_CURRENT_ROLE                                           = ast.Token_CURRENT_ROLE
	Token_CURRENT_SCHEMA                                         = ast.Token_CURRENT_SCHEMA
	Token_CURRENT_TIME                                           = ast.Token_CURRENT_TIME
	Token_CURRENT_TIMESTAMP                                      = ast.Token_CURRENT_TIMESTAMP
	Token_CURRENT_USER                                           = ast.Token_CURRENT_USER
	Token_CURSOR                                                 = ast.Token_CURSOR
	Token_CYCLE                                                  = ast.Token_CYCLE
	Token_DATA_P                                                 = ast.Token_DATA_P
	Token_DATABASE                                               = ast.Token_DATABASE
	Token_DAY_P                                                  = ast.Token_DAY_P
	Token_DEALLOCATE                                             = ast.Token_DEALLOCATE
	Token_DEC                                                    = ast.Token_DEC
	Token_DECIMAL_P                                              = ast.Token_DECIMAL_P
	Token_DECLARE                                                = ast.Token_DECLARE
	Token_DEFAULT                                                = ast.Token_DEFAULT
	Token_DEFAULTS                                               = ast.Token_DEFAULTS
	Token_DEFERRABLE                                             = ast.Token_DEFERRABLE
	Token_DEFERRED                                               = ast.Token_DEFERRED
	Token_DEFINER                                                = ast.Token_DEFINER
	Token_DELETE_P                                               = ast.Token_DELETE_P
	Token_DELIMITER                                              = ast.Token_DELIMITER
	Token_DELIMITERS                                             = ast.Token_DELIMITERS
	Token_DEPENDS                                                = ast.Token_DEPENDS
	Token_DEPTH                                                  = ast.Token_DEPTH
	Token_DESC                                                   = ast.Token_DESC
	Token_DETACH                                                 = ast.Token_DETACH
	Token_DICTIONARY                                             = ast.Token_DICTIONARY
	Token_DISABLE_P                                              = ast.Token_DISABLE_P
	Token_DISCARD                                                = ast.Token_DISCARD
	Token_DISTINCT                                               = ast.Token_DISTINCT
	Token_DO                                                     = ast.Token_DO
	Token_DOCUMENT_P                                             = ast.Token_DOCUMENT_P
	Token_DOMAIN_P                                               = ast.Token_DOMAIN_P
	Token_DOUBLE_P                                               = ast.Token_DOUBLE_P
	Token_DROP                                                   = ast.Token_DROP
	Token_EACH                                                   = ast.Token_EACH
	Token_ELSE                                                   = ast.Token_ELSE
	Token_EMPTY_P                                                = ast.Token_EMPTY_P
	Token_ENABLE_P                                               = ast.Token_ENABLE_P
	Token_ENCODING                                               = ast.Token_ENCODING
	Token_ENCRYPTED                                              = ast.Token_ENCRYPTED
	Token_END_P                                                  = ast.Token_END_P
	Token_ENFORCED                                               = ast.Token_ENFORCED
	Token_ENUM_P                                                 = ast.Token_ENUM_P
	Token_ERROR_P                                                = ast.Token_ERROR_P
	Token_ESCAPE                                                 = ast.Token_ESCAPE
	Token_EVENT                                                  = ast.Token_EVENT
	Token_EXCEPT                                                 = ast.Token_EXCEPT
	Token_EXCLUDE                                                = ast.Token_EXCLUDE
	Token_EXCLUDING                                              = ast.Token_EXCLUDING
	Token_EXCLUSIVE                                              = ast.Token_EXCLUSIVE
	Token_EXECUTE                                                = ast.Token_EXECUTE
	Token_EXISTS                                                 = ast.Token_EXISTS
	Token_EXPLAIN                                                = ast.Token_EXPLAIN
	Token_EXPRESSION                                             = ast.Token_EXPRESSION
	Token_EXTENSION                                              = ast.Token_EXTENSION
	Token_EXTERNAL                                               = ast.Token_EXTERNAL
	Token_EXTRACT                                                = ast.Token_EXTRACT
	Token_FALSE_P                                                = ast.Token_FALSE_P
	Token_FAMILY                                                 = ast.Token_FAMILY
	Token_FETCH                                                  = ast.Token_FETCH
	Token_FILTER                                                 = ast.Token_FILTER
	Token_FINALIZE                                               = ast.Token_FINALIZE
	Token_FIRST_P                                                = ast.Token_FIRST_P
	Token_FLOAT_P                                                = ast.Token_FLOAT_P
	Token_FOLLOWING                                              = ast.Token_FOLLOWING
	Token_FOR                                                    = ast.Token_FOR
	Token_FORCE                                                  = ast.Token_FORCE
	Token_FOREIGN                                                = ast.Token_FOREIGN
	Token_FORMAT                                                 = ast.Token_FORMAT
	Token_FORWARD                                                = ast.Token_FORWARD
	Token_FREEZE                                                 = ast.Token_FREEZE
	Token_FROM                                                   = ast.Token_FROM
	Token_FULL                                                   = ast.Token_FULL
	Token_FUNCTION                                               = ast.Token_FUNCTION
	Token_FUNCTIONS                                              = ast.Token_FUNCTIONS
	Token_GENERATED                                              = ast.Token_GENERATED
	Token_GLOBAL                                                 = ast.Token_GLOBAL
	Token_GRANT                                                  = ast.Token_GRANT
	Token_GRANTED                                                = ast.Token_GRANTED
	Token_GREATEST                                               = ast.Token_GREATEST
	Token_GROUP_P                                                = ast.Token_GROUP_P
	Token_GROUPING                                               = ast.Token_GROUPING
	Token_GROUPS                                                 = ast.Token_GROUPS
	Token_HANDLER                                                = ast.Token_HANDLER
	Token_HAVING                                                 = ast.Token_HAVING
	Token_HEADER_P                                               = ast.Token_HEADER_P
	Token_HOLD                                                   = ast.Token_HOLD
	Token_HOUR_P                                                 = ast.Token_HOUR_P
	Token_IDENTITY_P                                             = ast.Token_IDENTITY_P
	Token_IF_P                                                   = ast.Token_IF_P
	Token_ILIKE                                                  = ast.Token_ILIKE
	Token_IMMEDIATE                                              = ast.Token_IMMEDIATE
	Token_IMMUTABLE                                              = ast.Token_IMMUTABLE
	Token_IMPLICIT_P                                             = ast.Token_IMPLICIT_P
	Token_IMPORT_P                                               = ast.Token_IMPORT_P
	Token_IN_P                                                   = ast.Token_IN_P
	Token_INCLUDE                                                = ast.Token_INCLUDE
	Token_INCLUDING                                              = ast.Token_INCLUDING
	Token_INCREMENT                                              = ast.Token_INCREMENT
	Token_INDENT                                                 = ast.Token_INDENT
	Token_INDEX                                                  = ast.Token_INDEX
	Token_INDEXES                                                = ast.Token_INDEXES
	Token_INHERIT                                                = ast.Token_INHERIT
	Token_INHERITS                                               = ast.Token_INHERITS
	Token_INITIALLY                                              = ast.Token_INITIALLY
	Token_INLINE_P                                               = ast.Token_INLINE_P
	Token_INNER_P                                                = ast.Token_INNER_P
	Token_INOUT                                                  = ast.Token_INOUT
	Token_INPUT_P                                                = ast.Token_INPUT_P
	Token_INSENSITIVE                                            = ast.Token_INSENSITIVE
	Token_INSERT                                                 = ast.Token_INSERT
	Token_INSTEAD                                                = ast.Token_INSTEAD
	Token_INT_P                                                  = ast.Token_INT_P
	Token_INTEGER                                                = ast.Token_INTEGER
	Token_INTERSECT                                              = ast.Token_INTERSECT
	Token_INTERVAL                                               = ast.Token_INTERVAL
	Token_INTO                                                   = ast.Token_INTO
	Token_INVOKER                                                = ast.Token_INVOKER
	Token_IS                                                     = ast.Token_IS
	Token_ISNULL                                                 = ast.Token_ISNULL
	Token_ISOLATION                                              = ast.Token_ISOLATION
	Token_JOIN                                                   = ast.Token_JOIN
	Token_JSON                                                   = ast.Token_JSON
	Token_JSON_ARRAY                                             = ast.Token_JSON_ARRAY
	Token_JSON_ARRAYAGG                                          = ast.Token_JSON_ARRAYAGG
	Token_JSON_EXISTS                                            = ast.Token_JSON_EXISTS
	Token_JSON_OBJECT                                            = ast.Token_JSON_OBJECT
	Token_JSON_OBJECTAGG                                         = ast.Token_JSON_OBJECTAGG
	Token_JSON_QUERY                                             = ast.Token_JSON_QUERY
	Token_JSON_SCALAR                                            = ast.Token_JSON_SCALAR
	Token_JSON_SERIALIZE                                         = ast.Token_JSON_SERIALIZE
	Token_JSON_TABLE                                             = ast.Token_JSON_TABLE
	Token_JSON_VALUE                                             = ast.Token_JSON_VALUE
	Token_KEEP                                                   = ast.Token_KEEP
	Token_KEY                                                    = ast.Token_KEY
	Token_KEYS                                                   = ast.Token_KEYS
	Token_LABEL                                                  = ast.Token_LABEL
	Token_LANGUAGE                                               = ast.Token_LANGUAGE
	Token_LARGE_P                                                = ast.Token_LARGE_P
	Token_LAST_P                                                 = ast.Token_LAST_P
	Token_LATERAL_P                                              = ast.Token_LATERAL_P
	Token_LEADING                                                = ast.Token_LEADING
	Token_LEAKPROOF                                              = ast.Token_LEAKPROOF
	Token_LEAST                                                  = ast.Token_LEAST
	Token_LEFT                                                   = ast.Token_LEFT
	Token_LEVEL                                                  = ast.Token_LEVEL
	Token_LIKE                                                   = ast.Token_LIKE
	Token_LIMIT                                                  = ast.Token_LIMIT
	Token_LISTEN                                                 = ast.Token_LISTEN
	Token_LOAD                                                   = ast.Token_LOAD
	Token_LOCAL                                                  = ast.Token_LOCAL
	Token_LOCALTIME                                              = ast.Token_LOCALTIME
	Token_LOCALTIMESTAMP                                         = ast.Token_LOCALTIMESTAMP
	Token_LOCATION                                               = ast.Token_LOCATION
	Token_LOCK_P                                                 = ast.Token_LOCK_P
	Token_LOCKED                                                 = ast.Token_LOCKED
	Token_LOGGED                                                 = ast.Token_LOGGED
	Token_MAPPING                                                = ast.Token_MAPPING
	Token_MATCH                                                  = ast.Token_MATCH
	Token_MATCHED                                                = ast.Token_MATCHED
	Token_MATERIALIZED                                           = ast.Token_MATERIALIZED
	Token_MAXVALUE                                               = ast.Token_MAXVALUE
	Token_MERGE                                                  = ast.Token_MERGE
	Token_MERGE_ACTION                                           = ast.Token_MERGE_ACTION
	Token_METHOD                                                 = ast.Token_METHOD
	Token_MINUTE_P                                               = ast.Token_MINUTE_P
	Token_MINVALUE                                               = ast.Token_MINVALUE
	Token_MODE                                                   = ast.Token_MODE
	Token_MONTH_P                                                = ast.Token_MONTH_P
	Token_MOVE                                                   = ast.Token_MOVE
	Token_NAME_P                                                 = ast.Token_NAME_P
	Token_NAMES                                                  = ast.Token_NAMES
	Token_NATIONAL                                               = ast.Token_NATIONAL
	Token_NATURAL                                                = ast.Token_NATURAL
	Token_NCHAR                                                  = ast.Token_NCHAR
	Token_NESTED                                                 = ast.Token_NESTED
	Token_NEW                                                    = ast.Token_NEW
	Token_NEXT                                                   = ast.Token_NEXT
	Token_NFC                                                    = ast.Token_NFC
	Token_NFD                                                    = ast.Token_NFD
	Token_NFKC                                                   = ast.Token_NFKC
	Token_NFKD                                                   = ast.Token_NFKD
	Token_NO                                                     = ast.Token_NO
	Token_NONE                                                   = ast.Token_NONE
	Token_NORMALIZE                                              = ast.Token_NORMALIZE
	Token_NORMALIZED                                             = ast.Token_NORMALIZED
	Token_NOT                                                    = ast.Token_NOT
	Token_NOTHING                                                = ast.Token_NOTHING
	Token_NOTIFY                                                 = ast.Token_NOTIFY
	Token_NOTNULL                                                = ast.Token_NOTNULL
	Token_NOWAIT                                                 = ast.Token_NOWAIT
	Token_NULL_P                                                 = ast.Token_NULL_P
	Token_NULLIF                                                 = ast.Token_NULLIF
	Token_NULLS_P                                                = ast.Token_NULLS_P
	Token_NUMERIC                                                = ast.Token_NUMERIC
	Token_OBJECT_P                                               = ast.Token_OBJECT_P
	Token_OBJECTS_P                                              = ast.Token_OBJECTS_P
	Token_OF                                                     = ast.Token_OF
	Token_OFF                                                    = ast.Token_OFF
	Token_OFFSET                                                 = ast.Token_OFFSET
	Token_OIDS                                                   = ast.Token_OIDS
	Token_OLD                                                    = ast.Token_OLD
	Token_OMIT                                                   = ast.Token_OMIT
	Token_ON                                                     = ast.Token_ON
	Token_ONLY                                                   = ast.Token_ONLY
	Token_OPERATOR                                               = ast.Token_OPERATOR
	Token_OPTION                                                 = ast.Token_OPTION
	Token_OPTIONS                                                = ast.Token_OPTIONS
	Token_OR                                                     = ast.Token_OR
	Token_ORDER                                                  = ast.Token_ORDER
	Token_ORDINALITY                                             = ast.Token_ORDINALITY
	Token_OTHERS                                                 = ast.Token_OTHERS
	Token_OUT_P                                                  = ast.Token_OUT_P
	Token_OUTER_P                                                = ast.Token_OUTER_P
	Token_OVER                                                   = ast.Token_OVER
	Token_OVERLAPS                                               = ast.Token_OVERLAPS
	Token_OVERLAY                                                = ast.Token_OVERLAY
	Token_OVERRIDING                                             = ast.Token_OVERRIDING
	Token_OWNED                                                  = ast.Token_OWNED
	Token_OWNER                                                  = ast.Token_OWNER
	Token_PARALLEL                                               = ast.Token_PARALLEL
	Token_PARAMETER                                              = ast.Token_PARAMETER
	Token_PARSER                                                 = ast.Token_PARSER
	Token_PARTIAL                                                = ast.Token_PARTIAL
	Token_PARTITION                                              = ast.Token_PARTITION
	Token_PASSING                                                = ast.Token_PASSING
	Token_PASSWORD                                               = ast.Token_PASSWORD
	Token_PATH                                                   = ast.Token_PATH
	Token_PERIOD                                                 = ast.Token_PERIOD
	Token_PLACING                                                = ast.Token_PLACING
	Token_PLAN                                                   = ast.Token_PLAN
	Token_PLANS                                                  = ast.Token_PLANS
	Token_POLICY                                                 = ast.Token_POLICY
	Token_POSITION                                               = ast.Token_POSITION
	Token_PRECEDING                                              = ast.Token_PRECEDING
	Token_PRECISION                                              = ast.Token_PRECISION
	Token_PRESERVE                                               = ast.Token_PRESERVE
	Token_PREPARE                                                = ast.Token_PREPARE
	Token_PREPARED                                               = ast.Token_PREPARED
	Token_PRIMARY                                                = ast.Token_PRIMARY
	Token_PRIOR                                                  = ast.Token_PRIOR
	Token_PRIVILEGES                                             = ast.Token_PRIVILEGES
	Token_PROCEDURAL                                             = ast.Token_PROCEDURAL
	Token_PROCEDURE                                              = ast.Token_PROCEDURE
	Token_PROCEDURES                                             = ast.Token_PROCEDURES
	Token_PROGRAM                                                = ast.Token_PROGRAM
	Token_PUBLICATION                                            = ast.Token_PUBLICATION
	Token_QUOTE                                                  = ast.Token_QUOTE
	Token_QUOTES                                                 = ast.Token_QUOTES
	Token_RANGE                                                  = ast.Token_RANGE
	Token_READ                                                   = ast.Token_READ
	Token_REAL                                                   = ast.Token_REAL
	Token_REASSIGN                                               = ast.Token_REASSIGN
	Token_RECURSIVE                                              = ast.Token_RECURSIVE
	Token_REF_P                                                  = ast.Token_REF_P
	Token_REFERENCES                                             = ast.Token_REFERENCES
	Token_REFERENCING                                            = ast.Token_REFERENCING
	Token_REFRESH                                                = ast.Token_REFRESH
	Token_REINDEX                                                = ast.Token_REINDEX
	Token_RELATIVE_P                                             = ast.Token_RELATIVE_P
	Token_RELEASE                                                = ast.Token_RELEASE
	Token_RENAME                                                 = ast.Token_RENAME
	Token_REPEATABLE                                             = ast.Token_REPEATABLE
	Token_REPLACE                                                = ast.Token_REPLACE
	Token_REPLICA                                                = ast.Token_REPLICA
	Token_RESET                                                  = ast.Token_RESET
	Token_RESTART                                                = ast.Token_RESTART
	Token_RESTRICT                                               = ast.Token_RESTRICT
	Token_RETURN                                                 = ast.Token_RETURN
	Token_RETURNING                                              = ast.Token_RETURNING
	Token_RETURNS                                                = ast.Token_RETURNS
	Token_REVOKE                                                 = ast.Token_REVOKE
	Token_RIGHT                                                  = ast.Token_RIGHT
	Token_ROLE                                                   = ast.Token_ROLE
	Token_ROLLBACK                                               = ast.Token_ROLLBACK
	Token_ROLLUP                                                 = ast.Token_ROLLUP
	Token_ROUTINE                                                = ast.Token_ROUTINE
	Token_ROUTINES                                               = ast.Token_ROUTINES
	Token_ROW                                                    = ast.Token_ROW
	Token_ROWS                                                   = ast.Token_ROWS
	Token_RULE                                                   = ast.Token_RULE
	Token_SAVEPOINT                                              = ast.Token_SAVEPOINT
	Token_SCALAR                                                 = ast.Token_SCALAR
	Token_SCHEMA                                                 = ast.Token_SCHEMA
	Token_SCHEMAS                                                = ast.Token_SCHEMAS
	Token_SCROLL                                                 = ast.Token_SCROLL
	Token_SEARCH                                                 = ast.Token_SEARCH
	Token_SECOND_P                                               = ast.Token_SECOND_P
	Token_SECURITY                                               = ast.Token_SECURITY
	Token_SELECT                                                 = ast.Token_SELECT
	Token_SEQUENCE                                               = ast.Token_SEQUENCE
	Token_SEQUENCES                                              = ast.Token_SEQUENCES
	Token_SERIALIZABLE                                           = ast.Token_SERIALIZABLE
	Token_SERVER                                                 = ast.Token_SERVER
	Token_SESSION                                                = ast.Token_SESSION
	Token_SESSION_USER                                           = ast.Token_SESSION_USER
	Token_SET                                                    = ast.Token_SET
	Token_SETS                                                   = ast.Token_SETS
	Token_SETOF                                                  = ast.Token_SETOF
	Token_SHARE                                                  = ast.Token_SHARE
	Token_SHOW                                                   = ast.Token_SHOW
	Token_SIMILAR                                                = ast.Token_SIMILAR
	Token_SIMPLE                                                 = ast.Token_SIMPLE
	Token_SKIP                                                   = ast.Token_SKIP
	Token_SMALLINT                                               = ast.Token_SMALLINT
	Token_SNAPSHOT                                               = ast.Token_SNAPSHOT
	Token_SOME                                                   = ast.Token_SOME
	Token_SOURCE                                                 = ast.Token_SOURCE
	Token_SQL_P                                                  = ast.Token_SQL_P
	Token_STABLE                                                 = ast.Token_STABLE
	Token_STANDALONE_P                                           = ast.Token_STANDALONE_P
	Token_START                                                  = ast.Token_START
	Token_STATEMENT                                              = ast.Token_STATEMENT
	Token_STATISTICS                                             = ast.Token_STATISTICS
	Token_STDIN                                                  = ast.Token_STDIN
	Token_STDOUT                                                 = ast.Token_STDOUT
	Token_STORAGE                                                = ast.Token_STORAGE
	Token_STORED                                                 = ast.Token_STORED
	Token_STRICT_P                                               = ast.Token_STRICT_P
	Token_STRING_P                                               = ast.Token_STRING_P
	Token_STRIP_P                                                = ast.Token_STRIP_P
	Token_SUBSCRIPTION                                           = ast.Token_SUBSCRIPTION
	Token_SUBSTRING                                              = ast.Token_SUBSTRING
	Token_SUPPORT                                                = ast.Token_SUPPORT
	Token_SYMMETRIC                                              = ast.Token_SYMMETRIC
	Token_SYSID                                                  = ast.Token_SYSID
	Token_SYSTEM_P                                               = ast.Token_SYSTEM_P
	Token_SYSTEM_USER                                            = ast.Token_SYSTEM_USER
	Token_TABLE                                                  = ast.Token_TABLE
	Token_TABLES                                                 = ast.Token_TABLES
	Token_TABLESAMPLE                                            = ast.Token_TABLESAMPLE
	Token_TABLESPACE                                             = ast.Token_TABLESPACE
	Token_TARGET                                                 = ast.Token_TARGET
	Token_TEMP                                                   = ast.Token_TEMP
	Token_TEMPLATE                                               = ast.Token_TEMPLATE
	Token_TEMPORARY                                              = ast.Token_TEMPORARY
	Token_TEXT_P                                                 = ast.Token_TEXT_P
	Token_THEN                                                   = ast.Token_THEN
	Token_TIES                                                   = ast.Token_TIES
	Token_TIME                                                   = ast.Token_TIME
	Token_TIMESTAMP                                              = ast.Token_TIMESTAMP
	Token_TO                                                     = ast.Token_TO
	Token_TRAILING                                               = ast.Token_TRAILING
	Token_TRANSACTION                                            = ast.Token_TRANSACTION
	Token_TRANSFORM                                              = ast.Token_TRANSFORM
	Token_TREAT                                                  = ast.Token_TREAT
	Token_TRIGGER                                                = ast.Token_TRIGGER
	Token_TRIM                                                   = ast.Token_TRIM
	Token_TRUE_P                                                 = ast.Token_TRUE_P
	Token_TRUNCATE                                               = ast.Token_TRUNCATE
	Token_TRUSTED                                                = ast.Token_TRUSTED
	Token_TYPE_P                                                 = ast.Token_TYPE_P
	Token_TYPES_P                                                = ast.Token_TYPES_P
	Token_UESCAPE                                                = ast.Token_UESCAPE
	Token_UNBOUNDED                                              = ast.Token_UNBOUNDED
	Token_UNCONDITIONAL                                          = ast.Token_UNCONDITIONAL
	Token_UNCOMMITTED                                            = ast.Token_UNCOMMITTED
	Token_UNENCRYPTED                                            = ast.Token_UNENCRYPTED
	Token_UNION                                                  = ast.Token_UNION
	Token_UNIQUE                                                 = ast.Token_UNIQUE
	Token_UNKNOWN                                                = ast.Token_UNKNOWN
	Token_UNLISTEN                                               = ast.Token_UNLISTEN
	Token_UNLOGGED                                               = ast.Token_UNLOGGED
	Token_UNTIL                                                  = ast.Token_UNTIL
	Token_UPDATE                                                 = ast.Token_UPDATE
	Token_USER                                                   = ast.Token_USER
	Token_USING                                                  = ast.Token_USING
	Token_VACUUM                                                 = ast.Token_VACUUM
	Token_VALID                                                  = ast.Token_VALID
	Token_VALIDATE                                               = ast.Token_VALIDATE
	Token_VALIDATOR                                              = ast.Token_VALIDATOR
	Token_VALUE_P                                                = ast.Token_VALUE_P
	Token_VALUES                                                 = ast.Token_VALUES
	Token_VARCHAR                                                = ast.Token_VARCHAR
	Token_VARIADIC                                               = ast.Token_VARIADIC
	Token_VARYING                                                = ast.Token_VARYING
	Token_VERBOSE                                                = ast.Token_VERBOSE
	Token_VERSION_P                                              = ast.Token_VERSION_P
	Token_VIEW                                                   = ast.Token_VIEW
	Token_VIEWS                                                  = ast.Token_VIEWS
	Token_VIRTUAL                                                = ast.Token_VIRTUAL
	Token_VOLATILE                                               = ast.Token_VOLATILE
	Token_WHEN                                                   = ast.Token_WHEN
	Token_WHERE                                                  = ast.Token_WHERE
	Token_WHITESPACE_P                                           = ast.Token_WHITESPACE_P
	Token_WINDOW                                                 = ast.Token_WINDOW
	Token_WITH                                                   = ast.Token_WITH
	Token_WITHIN                                                 = ast.Token_WITHIN
	Token_WITHOUT                                                = ast.Token_WITHOUT
	Token_WORK                                                   = ast.Token_WORK
	Token_WRAPPER                                                = ast.Token_WRAPPER
	Token_WRITE                                                  = ast.Token_WRITE
	Token_XML_P                                                  = ast.Token_XML_P
	Token_XMLATTRIBUTES                                          = ast.Token_XMLATTRIBUTES
	Token_XMLCONCAT                                              = ast.Token_XMLCONCAT
	Token_XMLELEMENT                                             = ast.Token_XMLELEMENT
	Token_XMLEXISTS                                              = ast.Token_XMLEXISTS
	Token_XMLFOREST                                              = ast.Token_XMLFOREST
	Token_XMLNAMESPACES                                          = ast.Token_XMLNAMESPACES
	Token_XMLPARSE                                               = ast.Token_XMLPARSE
	Token_XMLPI                                                  = ast.Token_XMLPI
	Token_XMLROOT                                                = ast.Token_XMLROOT
	Token_XMLSERIALIZE                                           = ast.Token_XMLSERIALIZE
	Token_XMLTABLE                                               = ast.Token_XMLTABLE
	Token_YEAR_P                                                 = ast.Token_YEAR_P
	Token_YES_P                                                  = ast.Token_YES_P
	Token_ZONE                                                   = ast.Token_ZONE
	Token_FORMAT_LA                                              = ast.Token_FORMAT_LA
	Token_NOT_LA                                                 = ast.Token_NOT_LA
	Token_NULLS_LA                                               = ast.Token_NULLS_LA
	Token_WITH_LA                                                = ast.Token_WITH_LA
	Token_WITHOUT_LA                                             = ast.Token_WITHOUT_LA
	Token_MODE_TYPE_NAME                                         = ast.Token_MODE_TYPE_NAME
	Token_MODE_PLPGSQL_EXPR                                      = ast.Token_MODE_PLPGSQL_EXPR
	Token_MODE_PLPGSQL_ASSIGN1                                   = ast.Token_MODE_PLPGSQL_ASSIGN1
	Token_MODE_PLPGSQL_ASSIGN2                                   = ast.Token_MODE_PLPGSQL_ASSIGN2
	Token_MODE_PLPGSQL_ASSIGN3                                   = ast.Token_MODE_PLPGSQL_ASSIGN3
	Token_UMINUS                                                 = ast.Token_UMINUS
	SummaryResult_None                                           = ast.SummaryResult_None
	SummaryResult_Select                                         = ast.SummaryResult_Select
	SummaryResult_DML                                            = ast.SummaryResult_DML
	SummaryResult_DDL                                            = ast.SummaryResult_DDL
	SummaryResult_Call                                           = ast.SummaryResult_Call
)

Variables

View Source
var (
	QuerySource_name              = ast.QuerySource_name
	QuerySource_value             = ast.QuerySource_value
	SortByDir_name                = ast.SortByDir_name
	SortByDir_value               = ast.SortByDir_value
	SortByNulls_name              = ast.SortByNulls_name
	SortByNulls_value             = ast.SortByNulls_value
	SetQuantifier_name            = ast.SetQuantifier_name
	SetQuantifier_value           = ast.SetQuantifier_value
	A_Expr_Kind_name              = ast.A_Expr_Kind_name
	A_Expr_Kind_value             = ast.A_Expr_Kind_value
	RoleSpecType_name             = ast.RoleSpecType_name
	RoleSpecType_value            = ast.RoleSpecType_value
	TableLikeOption_name          = ast.TableLikeOption_name
	TableLikeOption_value         = ast.TableLikeOption_value
	DefElemAction_name            = ast.DefElemAction_name
	DefElemAction_value           = ast.DefElemAction_value
	PartitionStrategy_name        = ast.PartitionStrategy_name
	PartitionStrategy_value       = ast.PartitionStrategy_value
	PartitionRangeDatumKind_name  = ast.PartitionRangeDatumKind_name
	PartitionRangeDatumKind_value = ast.PartitionRangeDatumKind_value
	RTEKind_name                  = ast.RTEKind_name
	RTEKind_value                 = ast.RTEKind_value
	WCOKind_name                  = ast.WCOKind_name
	WCOKind_value                 = ast.WCOKind_value
	GroupingSetKind_name          = ast.GroupingSetKind_name
	GroupingSetKind_value         = ast.GroupingSetKind_value
	CTEMaterialize_name           = ast.CTEMaterialize_name
	CTEMaterialize_value          = ast.CTEMaterialize_value
	ReturningOptionKind_name      = ast.ReturningOptionKind_name
	ReturningOptionKind_value     = ast.ReturningOptionKind_value
	JsonQuotes_name               = ast.JsonQuotes_name
	JsonQuotes_value              = ast.JsonQuotes_value
	JsonTableColumnType_name      = ast.JsonTableColumnType_name
	JsonTableColumnType_value     = ast.JsonTableColumnType_value
	SetOperation_name             = ast.SetOperation_name
	SetOperation_value            = ast.SetOperation_value
	ObjectType_name               = ast.ObjectType_name
	ObjectType_value              = ast.ObjectType_value
	DropBehavior_name             = ast.DropBehavior_name
	DropBehavior_value            = ast.DropBehavior_value
	AlterTableType_name           = ast.AlterTableType_name
	AlterTableType_value          = ast.AlterTableType_value
	GrantTargetType_name          = ast.GrantTargetType_name
	GrantTargetType_value         = ast.GrantTargetType_value
	VariableSetKind_name          = ast.VariableSetKind_name
	VariableSetKind_value         = ast.VariableSetKind_value
	ConstrType_name               = ast.ConstrType_name
	ConstrType_value              = ast.ConstrType_value
	ImportForeignSchemaType_name  = ast.ImportForeignSchemaType_name
	ImportForeignSchemaType_value = ast.ImportForeignSchemaType_value
	RoleStmtType_name             = ast.RoleStmtType_name
	RoleStmtType_value            = ast.RoleStmtType_value
	FetchDirection_name           = ast.FetchDirection_name
	FetchDirection_value          = ast.FetchDirection_value
	FunctionParameterMode_name    = ast.FunctionParameterMode_name
	FunctionParameterMode_value   = ast.FunctionParameterMode_value
	TransactionStmtKind_name      = ast.TransactionStmtKind_name
	TransactionStmtKind_value     = ast.TransactionStmtKind_value
	ViewCheckOption_name          = ast.ViewCheckOption_name
	ViewCheckOption_value         = ast.ViewCheckOption_value
	DiscardMode_name              = ast.DiscardMode_name
	DiscardMode_value             = ast.DiscardMode_value
	ReindexObjectType_name        = ast.ReindexObjectType_name
	ReindexObjectType_value       = ast.ReindexObjectType_value
	AlterTSConfigType_name        = ast.AlterTSConfigType_name
	AlterTSConfigType_value       = ast.AlterTSConfigType_value
	PublicationObjSpecType_name   = ast.PublicationObjSpecType_name
	PublicationObjSpecType_value  = ast.PublicationObjSpecType_value
	AlterPublicationAction_name   = ast.AlterPublicationAction_name
	AlterPublicationAction_value  = ast.AlterPublicationAction_value
	AlterSubscriptionType_name    = ast.AlterSubscriptionType_name
	AlterSubscriptionType_value   = ast.AlterSubscriptionType_value
	OverridingKind_name           = ast.OverridingKind_name
	OverridingKind_value          = ast.OverridingKind_value
	OnCommitAction_name           = ast.OnCommitAction_name
	OnCommitAction_value          = ast.OnCommitAction_value
	TableFuncType_name            = ast.TableFuncType_name
	TableFuncType_value           = ast.TableFuncType_value
	VarReturningType_name         = ast.VarReturningType_name
	VarReturningType_value        = ast.VarReturningType_value
	ParamKind_name                = ast.ParamKind_name
	ParamKind_value               = ast.ParamKind_value
	CoercionContext_name          = ast.CoercionContext_name
	CoercionContext_value         = ast.CoercionContext_value
	CoercionForm_name             = ast.CoercionForm_name
	CoercionForm_value            = ast.CoercionForm_value
	BoolExprType_name             = ast.BoolExprType_name
	BoolExprType_value            = ast.BoolExprType_value
	SubLinkType_name              = ast.SubLinkType_name
	SubLinkType_value             = ast.SubLinkType_value
	MinMaxOp_name                 = ast.MinMaxOp_name
	MinMaxOp_value                = ast.MinMaxOp_value
	SQLValueFunctionOp_name       = ast.SQLValueFunctionOp_name
	SQLValueFunctionOp_value      = ast.SQLValueFunctionOp_value
	XmlExprOp_name                = ast.XmlExprOp_name
	XmlExprOp_value               = ast.XmlExprOp_value
	XmlOptionType_name            = ast.XmlOptionType_name
	XmlOptionType_value           = ast.XmlOptionType_value
	JsonEncoding_name             = ast.JsonEncoding_name
	JsonEncoding_value            = ast.JsonEncoding_value
	JsonFormatType_name           = ast.JsonFormatType_name
	JsonFormatType_value          = ast.JsonFormatType_value
	JsonConstructorType_name      = ast.JsonConstructorType_name
	JsonConstructorType_value     = ast.JsonConstructorType_value
	JsonValueType_name            = ast.JsonValueType_name
	JsonValueType_value           = ast.JsonValueType_value
	JsonWrapper_name              = ast.JsonWrapper_name
	JsonWrapper_value             = ast.JsonWrapper_value
	JsonBehaviorType_name         = ast.JsonBehaviorType_name
	JsonBehaviorType_value        = ast.JsonBehaviorType_value
	JsonExprOp_name               = ast.JsonExprOp_name
	JsonExprOp_value              = ast.JsonExprOp_value
	NullTestType_name             = ast.NullTestType_name
	NullTestType_value            = ast.NullTestType_value
	BoolTestType_name             = ast.BoolTestType_name
	BoolTestType_value            = ast.BoolTestType_value
	MergeMatchKind_name           = ast.MergeMatchKind_name
	MergeMatchKind_value          = ast.MergeMatchKind_value
	CmdType_name                  = ast.CmdType_name
	CmdType_value                 = ast.CmdType_value
	JoinType_name                 = ast.JoinType_name
	JoinType_value                = ast.JoinType_value
	AggStrategy_name              = ast.AggStrategy_name
	AggStrategy_value             = ast.AggStrategy_value
	AggSplit_name                 = ast.AggSplit_name
	AggSplit_value                = ast.AggSplit_value
	SetOpCmd_name                 = ast.SetOpCmd_name
	SetOpCmd_value                = ast.SetOpCmd_value
	SetOpStrategy_name            = ast.SetOpStrategy_name
	SetOpStrategy_value           = ast.SetOpStrategy_value
	OnConflictAction_name         = ast.OnConflictAction_name
	OnConflictAction_value        = ast.OnConflictAction_value
	LimitOption_name              = ast.LimitOption_name
	LimitOption_value             = ast.LimitOption_value
	LockClauseStrength_name       = ast.LockClauseStrength_name
	LockClauseStrength_value      = ast.LockClauseStrength_value
	LockWaitPolicy_name           = ast.LockWaitPolicy_name
	LockWaitPolicy_value          = ast.LockWaitPolicy_value
	LockTupleMode_name            = ast.LockTupleMode_name
	LockTupleMode_value           = ast.LockTupleMode_value
	CompareType_name              = ast.CompareType_name
	CompareType_value             = ast.CompareType_value
	KeywordKind_name              = ast.KeywordKind_name
	KeywordKind_value             = ast.KeywordKind_value
	Token_name                    = ast.Token_name
	Token_value                   = ast.Token_value
	SummaryResult_Context_name    = ast.SummaryResult_Context_name
	SummaryResult_Context_value   = ast.SummaryResult_Context_value
	File_pg_query_proto           = ast.File_pg_query_proto
)

Functions

func Deparse

func Deparse(tree *ParseResult) (output string, err error)

Deparse - Deparses a given Go parse tree into a SQL statement

func Fingerprint

func Fingerprint(input string) (result string, err error)

Fingerprint - Fingerprint the passed SQL statement to a hex string

func FingerprintToUInt64

func FingerprintToUInt64(input string) (result uint64, err error)

FingerprintToUInt64 - Fingerprint the passed SQL statement to a uint64

func HashXXH3_64

func HashXXH3_64(input []byte, seed uint64) (result uint64)

HashXXH3_64 - Helper method to run XXH3 hash function (64-bit variant) on the given bytes, with the specified seed

func IsUtilityStmt

func IsUtilityStmt(input string) (result []bool, err error)

IsUtilityStmt - Determines whether each statement in the query is a utility statement

Returns a slice of booleans, one for each statement in the query. true = utility statement / DDL, false = SELECT / INSERT / UPDATE / DELETE / MERGE

func Normalize

func Normalize(input string) (result string, err error)

Normalize the passed SQL statement to replace constant values with $n parameter references

func NormalizeUtility

func NormalizeUtility(input string) (result string, err error)

NormalizeUtility - Normalize the passed utility statement to replace constant values with $n parameter references

func ParsePlPgSqlToJSON

func ParsePlPgSqlToJSON(input string) (result string, err error)

ParsePlPgSqlToJSON - Parses the given PL/pgSQL function statement into a parse tree (JSON format)

func ParseToJSON

func ParseToJSON(input string) (result string, err error)

ParseToJSON - Parses the given SQL statement into a parse tree (JSON format)

func SplitWithParser

func SplitWithParser(input string, trimSpace bool) (result []string, err error)

func SplitWithScanner

func SplitWithScanner(input string, trimSpace bool) (result []string, err error)

Types

type ATAlterConstraint

type ATAlterConstraint = ast.ATAlterConstraint

type A_ArrayExpr

type A_ArrayExpr = ast.A_ArrayExpr

type A_Const

type A_Const = ast.A_Const

type A_Const_Boolval

type A_Const_Boolval = ast.A_Const_Boolval

type A_Const_Bsval

type A_Const_Bsval = ast.A_Const_Bsval

type A_Const_Fval

type A_Const_Fval = ast.A_Const_Fval

type A_Const_Ival

type A_Const_Ival = ast.A_Const_Ival

type A_Const_Sval

type A_Const_Sval = ast.A_Const_Sval

type A_Expr

type A_Expr = ast.A_Expr

type A_Expr_Kind

type A_Expr_Kind = ast.A_Expr_Kind

type A_Indices

type A_Indices = ast.A_Indices

type A_Indirection

type A_Indirection = ast.A_Indirection

type A_Star

type A_Star = ast.A_Star

type AccessPriv

type AccessPriv = ast.AccessPriv

type AggSplit

type AggSplit = ast.AggSplit

type AggStrategy

type AggStrategy = ast.AggStrategy

type Aggref

type Aggref = ast.Aggref

type Alias

type Alias = ast.Alias

type AlterCollationStmt

type AlterCollationStmt = ast.AlterCollationStmt

type AlterDatabaseRefreshCollStmt

type AlterDatabaseRefreshCollStmt = ast.AlterDatabaseRefreshCollStmt

type AlterDatabaseSetStmt

type AlterDatabaseSetStmt = ast.AlterDatabaseSetStmt

type AlterDatabaseStmt

type AlterDatabaseStmt = ast.AlterDatabaseStmt

type AlterDefaultPrivilegesStmt

type AlterDefaultPrivilegesStmt = ast.AlterDefaultPrivilegesStmt

type AlterDomainStmt

type AlterDomainStmt = ast.AlterDomainStmt

type AlterEnumStmt

type AlterEnumStmt = ast.AlterEnumStmt

type AlterEventTrigStmt

type AlterEventTrigStmt = ast.AlterEventTrigStmt

type AlterExtensionContentsStmt

type AlterExtensionContentsStmt = ast.AlterExtensionContentsStmt

type AlterExtensionStmt

type AlterExtensionStmt = ast.AlterExtensionStmt

type AlterFdwStmt

type AlterFdwStmt = ast.AlterFdwStmt

type AlterForeignServerStmt

type AlterForeignServerStmt = ast.AlterForeignServerStmt

type AlterFunctionStmt

type AlterFunctionStmt = ast.AlterFunctionStmt

type AlterObjectDependsStmt

type AlterObjectDependsStmt = ast.AlterObjectDependsStmt

type AlterObjectSchemaStmt

type AlterObjectSchemaStmt = ast.AlterObjectSchemaStmt

type AlterOpFamilyStmt

type AlterOpFamilyStmt = ast.AlterOpFamilyStmt

type AlterOperatorStmt

type AlterOperatorStmt = ast.AlterOperatorStmt

type AlterOwnerStmt

type AlterOwnerStmt = ast.AlterOwnerStmt

type AlterPolicyStmt

type AlterPolicyStmt = ast.AlterPolicyStmt

type AlterPublicationAction

type AlterPublicationAction = ast.AlterPublicationAction

type AlterPublicationStmt

type AlterPublicationStmt = ast.AlterPublicationStmt

type AlterRoleSetStmt

type AlterRoleSetStmt = ast.AlterRoleSetStmt

type AlterRoleStmt

type AlterRoleStmt = ast.AlterRoleStmt

type AlterSeqStmt

type AlterSeqStmt = ast.AlterSeqStmt

type AlterStatsStmt

type AlterStatsStmt = ast.AlterStatsStmt

type AlterSubscriptionStmt

type AlterSubscriptionStmt = ast.AlterSubscriptionStmt

type AlterSubscriptionType

type AlterSubscriptionType = ast.AlterSubscriptionType

type AlterSystemStmt

type AlterSystemStmt = ast.AlterSystemStmt

type AlterTSConfigType

type AlterTSConfigType = ast.AlterTSConfigType

type AlterTSConfigurationStmt

type AlterTSConfigurationStmt = ast.AlterTSConfigurationStmt

type AlterTSDictionaryStmt

type AlterTSDictionaryStmt = ast.AlterTSDictionaryStmt

type AlterTableCmd

type AlterTableCmd = ast.AlterTableCmd

type AlterTableMoveAllStmt

type AlterTableMoveAllStmt = ast.AlterTableMoveAllStmt

type AlterTableSpaceOptionsStmt

type AlterTableSpaceOptionsStmt = ast.AlterTableSpaceOptionsStmt

type AlterTableStmt

type AlterTableStmt = ast.AlterTableStmt

type AlterTableType

type AlterTableType = ast.AlterTableType

type AlterTypeStmt

type AlterTypeStmt = ast.AlterTypeStmt

type AlterUserMappingStmt

type AlterUserMappingStmt = ast.AlterUserMappingStmt

type AlternativeSubPlan

type AlternativeSubPlan = ast.AlternativeSubPlan

type ArrayCoerceExpr

type ArrayCoerceExpr = ast.ArrayCoerceExpr

type ArrayExpr

type ArrayExpr = ast.ArrayExpr

type BitString

type BitString = ast.BitString

type BoolExpr

type BoolExpr = ast.BoolExpr

type BoolExprType

type BoolExprType = ast.BoolExprType

type BoolTestType

type BoolTestType = ast.BoolTestType

type Boolean

type Boolean = ast.Boolean

type BooleanTest

type BooleanTest = ast.BooleanTest

type CTECycleClause

type CTECycleClause = ast.CTECycleClause

type CTEMaterialize

type CTEMaterialize = ast.CTEMaterialize

type CTESearchClause

type CTESearchClause = ast.CTESearchClause

type CallContext

type CallContext = ast.CallContext

type CallStmt

type CallStmt = ast.CallStmt

type CaseExpr

type CaseExpr = ast.CaseExpr

type CaseTestExpr

type CaseTestExpr = ast.CaseTestExpr

type CaseWhen

type CaseWhen = ast.CaseWhen

type CheckPointStmt

type CheckPointStmt = ast.CheckPointStmt

type ClosePortalStmt

type ClosePortalStmt = ast.ClosePortalStmt

type ClusterStmt

type ClusterStmt = ast.ClusterStmt

type CmdType

type CmdType = ast.CmdType

type CoalesceExpr

type CoalesceExpr = ast.CoalesceExpr

type CoerceToDomain

type CoerceToDomain = ast.CoerceToDomain

type CoerceToDomainValue

type CoerceToDomainValue = ast.CoerceToDomainValue

type CoerceViaIO

type CoerceViaIO = ast.CoerceViaIO

type CoercionContext

type CoercionContext = ast.CoercionContext

type CoercionForm

type CoercionForm = ast.CoercionForm

type CollateClause

type CollateClause = ast.CollateClause

type CollateExpr

type CollateExpr = ast.CollateExpr

type ColumnDef

type ColumnDef = ast.ColumnDef

type ColumnRef

type ColumnRef = ast.ColumnRef

type CommentStmt

type CommentStmt = ast.CommentStmt

type CommonTableExpr

type CommonTableExpr = ast.CommonTableExpr

type CompareType

type CompareType = ast.CompareType

type CompositeTypeStmt

type CompositeTypeStmt = ast.CompositeTypeStmt

type ConstrType

type ConstrType = ast.ConstrType

type Constraint

type Constraint = ast.Constraint

type ConstraintsSetStmt

type ConstraintsSetStmt = ast.ConstraintsSetStmt

type ConvertRowtypeExpr

type ConvertRowtypeExpr = ast.ConvertRowtypeExpr

type CopyStmt

type CopyStmt = ast.CopyStmt

type CreateAmStmt

type CreateAmStmt = ast.CreateAmStmt

type CreateCastStmt

type CreateCastStmt = ast.CreateCastStmt

type CreateConversionStmt

type CreateConversionStmt = ast.CreateConversionStmt

type CreateDomainStmt

type CreateDomainStmt = ast.CreateDomainStmt

type CreateEnumStmt

type CreateEnumStmt = ast.CreateEnumStmt

type CreateEventTrigStmt

type CreateEventTrigStmt = ast.CreateEventTrigStmt

type CreateExtensionStmt

type CreateExtensionStmt = ast.CreateExtensionStmt

type CreateFdwStmt

type CreateFdwStmt = ast.CreateFdwStmt

type CreateForeignServerStmt

type CreateForeignServerStmt = ast.CreateForeignServerStmt

type CreateForeignTableStmt

type CreateForeignTableStmt = ast.CreateForeignTableStmt

type CreateFunctionStmt

type CreateFunctionStmt = ast.CreateFunctionStmt

type CreateOpClassItem

type CreateOpClassItem = ast.CreateOpClassItem

type CreateOpClassStmt

type CreateOpClassStmt = ast.CreateOpClassStmt

type CreateOpFamilyStmt

type CreateOpFamilyStmt = ast.CreateOpFamilyStmt

type CreatePLangStmt

type CreatePLangStmt = ast.CreatePLangStmt

type CreatePolicyStmt

type CreatePolicyStmt = ast.CreatePolicyStmt

type CreatePublicationStmt

type CreatePublicationStmt = ast.CreatePublicationStmt

type CreateRangeStmt

type CreateRangeStmt = ast.CreateRangeStmt

type CreateRoleStmt

type CreateRoleStmt = ast.CreateRoleStmt

type CreateSchemaStmt

type CreateSchemaStmt = ast.CreateSchemaStmt

type CreateSeqStmt

type CreateSeqStmt = ast.CreateSeqStmt

type CreateStatsStmt

type CreateStatsStmt = ast.CreateStatsStmt

type CreateStmt

type CreateStmt = ast.CreateStmt

type CreateSubscriptionStmt

type CreateSubscriptionStmt = ast.CreateSubscriptionStmt

type CreateTableAsStmt

type CreateTableAsStmt = ast.CreateTableAsStmt

type CreateTableSpaceStmt

type CreateTableSpaceStmt = ast.CreateTableSpaceStmt

type CreateTransformStmt

type CreateTransformStmt = ast.CreateTransformStmt

type CreateTrigStmt

type CreateTrigStmt = ast.CreateTrigStmt

type CreateUserMappingStmt

type CreateUserMappingStmt = ast.CreateUserMappingStmt

type CreatedbStmt

type CreatedbStmt = ast.CreatedbStmt

type CurrentOfExpr

type CurrentOfExpr = ast.CurrentOfExpr

type DeallocateStmt

type DeallocateStmt = ast.DeallocateStmt

type DeclareCursorStmt

type DeclareCursorStmt = ast.DeclareCursorStmt

type DefElem

type DefElem = ast.DefElem

type DefElemAction

type DefElemAction = ast.DefElemAction

type DefineStmt

type DefineStmt = ast.DefineStmt

type DeleteStmt

type DeleteStmt = ast.DeleteStmt

type DiscardMode

type DiscardMode = ast.DiscardMode

type DiscardStmt

type DiscardStmt = ast.DiscardStmt

type DistinctExpr

type DistinctExpr = ast.DistinctExpr

type DoStmt

type DoStmt = ast.DoStmt

type DropBehavior

type DropBehavior = ast.DropBehavior

type DropOwnedStmt

type DropOwnedStmt = ast.DropOwnedStmt

type DropRoleStmt

type DropRoleStmt = ast.DropRoleStmt

type DropStmt

type DropStmt = ast.DropStmt

type DropSubscriptionStmt

type DropSubscriptionStmt = ast.DropSubscriptionStmt

type DropTableSpaceStmt

type DropTableSpaceStmt = ast.DropTableSpaceStmt

type DropUserMappingStmt

type DropUserMappingStmt = ast.DropUserMappingStmt

type DropdbStmt

type DropdbStmt = ast.DropdbStmt

type ExecuteStmt

type ExecuteStmt = ast.ExecuteStmt

type ExplainStmt

type ExplainStmt = ast.ExplainStmt

type FetchDirection

type FetchDirection = ast.FetchDirection

type FetchStmt

type FetchStmt = ast.FetchStmt

type FieldSelect

type FieldSelect = ast.FieldSelect

type FieldStore

type FieldStore = ast.FieldStore

type Float

type Float = ast.Float

type FromExpr

type FromExpr = ast.FromExpr

type FuncCall

type FuncCall = ast.FuncCall

type FuncExpr

type FuncExpr = ast.FuncExpr

type FunctionParameter

type FunctionParameter = ast.FunctionParameter

type FunctionParameterMode

type FunctionParameterMode = ast.FunctionParameterMode

type GrantRoleStmt

type GrantRoleStmt = ast.GrantRoleStmt

type GrantStmt

type GrantStmt = ast.GrantStmt

type GrantTargetType

type GrantTargetType = ast.GrantTargetType

type GroupingFunc

type GroupingFunc = ast.GroupingFunc

type GroupingSet

type GroupingSet = ast.GroupingSet

type GroupingSetKind

type GroupingSetKind = ast.GroupingSetKind

type ImportForeignSchemaStmt

type ImportForeignSchemaStmt = ast.ImportForeignSchemaStmt

type ImportForeignSchemaType

type ImportForeignSchemaType = ast.ImportForeignSchemaType

type IndexElem

type IndexElem = ast.IndexElem

type IndexStmt

type IndexStmt = ast.IndexStmt

type InferClause

type InferClause = ast.InferClause

type InferenceElem

type InferenceElem = ast.InferenceElem

type InlineCodeBlock

type InlineCodeBlock = ast.InlineCodeBlock

type InsertStmt

type InsertStmt = ast.InsertStmt

type IntList

type IntList = ast.IntList

type Integer

type Integer = ast.Integer

type IntoClause

type IntoClause = ast.IntoClause

type JoinExpr

type JoinExpr = ast.JoinExpr

type JoinType

type JoinType = ast.JoinType

type JsonAggConstructor

type JsonAggConstructor = ast.JsonAggConstructor

type JsonArgument

type JsonArgument = ast.JsonArgument

type JsonArrayAgg

type JsonArrayAgg = ast.JsonArrayAgg

type JsonArrayConstructor

type JsonArrayConstructor = ast.JsonArrayConstructor

type JsonArrayQueryConstructor

type JsonArrayQueryConstructor = ast.JsonArrayQueryConstructor

type JsonBehavior

type JsonBehavior = ast.JsonBehavior

type JsonBehaviorType

type JsonBehaviorType = ast.JsonBehaviorType

type JsonConstructorExpr

type JsonConstructorExpr = ast.JsonConstructorExpr

type JsonConstructorType

type JsonConstructorType = ast.JsonConstructorType

type JsonEncoding

type JsonEncoding = ast.JsonEncoding

type JsonExpr

type JsonExpr = ast.JsonExpr

type JsonExprOp

type JsonExprOp = ast.JsonExprOp

type JsonFormat

type JsonFormat = ast.JsonFormat

type JsonFormatType

type JsonFormatType = ast.JsonFormatType

type JsonFuncExpr

type JsonFuncExpr = ast.JsonFuncExpr

type JsonIsPredicate

type JsonIsPredicate = ast.JsonIsPredicate

type JsonKeyValue

type JsonKeyValue = ast.JsonKeyValue

type JsonObjectAgg

type JsonObjectAgg = ast.JsonObjectAgg

type JsonObjectConstructor

type JsonObjectConstructor = ast.JsonObjectConstructor

type JsonOutput

type JsonOutput = ast.JsonOutput

type JsonParseExpr

type JsonParseExpr = ast.JsonParseExpr

type JsonQuotes

type JsonQuotes = ast.JsonQuotes

type JsonReturning

type JsonReturning = ast.JsonReturning

type JsonScalarExpr

type JsonScalarExpr = ast.JsonScalarExpr

type JsonSerializeExpr

type JsonSerializeExpr = ast.JsonSerializeExpr

type JsonTable

type JsonTable = ast.JsonTable

type JsonTableColumn

type JsonTableColumn = ast.JsonTableColumn

type JsonTableColumnType

type JsonTableColumnType = ast.JsonTableColumnType

type JsonTablePath

type JsonTablePath = ast.JsonTablePath

type JsonTablePathScan

type JsonTablePathScan = ast.JsonTablePathScan

type JsonTablePathSpec

type JsonTablePathSpec = ast.JsonTablePathSpec

type JsonTableSiblingJoin

type JsonTableSiblingJoin = ast.JsonTableSiblingJoin

type JsonValueExpr

type JsonValueExpr = ast.JsonValueExpr

type JsonValueType

type JsonValueType = ast.JsonValueType

type JsonWrapper

type JsonWrapper = ast.JsonWrapper

type KeywordKind

type KeywordKind = ast.KeywordKind

type LimitOption

type LimitOption = ast.LimitOption

type List

type List = ast.List

type ListenStmt

type ListenStmt = ast.ListenStmt

type LoadStmt

type LoadStmt = ast.LoadStmt

type LockClauseStrength

type LockClauseStrength = ast.LockClauseStrength

type LockStmt

type LockStmt = ast.LockStmt

type LockTupleMode

type LockTupleMode = ast.LockTupleMode

type LockWaitPolicy

type LockWaitPolicy = ast.LockWaitPolicy

type LockingClause

type LockingClause = ast.LockingClause

type MergeAction

type MergeAction = ast.MergeAction

type MergeMatchKind

type MergeMatchKind = ast.MergeMatchKind

type MergeStmt

type MergeStmt = ast.MergeStmt

type MergeSupportFunc

type MergeSupportFunc = ast.MergeSupportFunc

type MergeWhenClause

type MergeWhenClause = ast.MergeWhenClause

type MinMaxExpr

type MinMaxExpr = ast.MinMaxExpr

type MinMaxOp

type MinMaxOp = ast.MinMaxOp

type MultiAssignRef

type MultiAssignRef = ast.MultiAssignRef

type NamedArgExpr

type NamedArgExpr = ast.NamedArgExpr

type NextValueExpr

type NextValueExpr = ast.NextValueExpr

type Node

type Node = ast.Node

func MakeAConstIntNode

func MakeAConstIntNode(ival int64, location int32) *Node

func MakeAConstStrNode

func MakeAConstStrNode(str string, location int32) *Node

func MakeAExprNode

func MakeAExprNode(kind A_Expr_Kind, name []*Node, lexpr *Node, rexpr *Node, location int32) *Node

func MakeAStarNode

func MakeAStarNode() *Node

func MakeBoolExprNode

func MakeBoolExprNode(boolop BoolExprType, args []*Node, location int32) *Node

func MakeCaseExprNode

func MakeCaseExprNode(arg *Node, args []*Node, location int32) *Node

func MakeCaseWhenNode

func MakeCaseWhenNode(expr *Node, result *Node, location int32) *Node

func MakeColumnRefNode

func MakeColumnRefNode(fields []*Node, location int32) *Node

func MakeDefaultConstraintNode

func MakeDefaultConstraintNode(rawExpr *Node, location int32) *Node

func MakeFullRangeVarNode

func MakeFullRangeVarNode(schemaname string, relname string, alias string, location int32) *Node

func MakeFuncCallNode

func MakeFuncCallNode(funcname []*Node, args []*Node, location int32) *Node

func MakeIntNode

func MakeIntNode(ival int64) *Node

func MakeJoinExprNode

func MakeJoinExprNode(jointype JoinType, larg *Node, rarg *Node, quals *Node) *Node

func MakeListNode

func MakeListNode(items []*Node) *Node

func MakeNotNullConstraintNode

func MakeNotNullConstraintNode(location int32) *Node

func MakeParamRefNode

func MakeParamRefNode(number int32, location int32) *Node

func MakePrimaryKeyConstraintNode

func MakePrimaryKeyConstraintNode(location int32) *Node

func MakeResTargetNodeWithName

func MakeResTargetNodeWithName(name string, location int32) *Node

func MakeResTargetNodeWithNameAndVal

func MakeResTargetNodeWithNameAndVal(name string, val *Node, location int32) *Node

func MakeResTargetNodeWithVal

func MakeResTargetNodeWithVal(val *Node, location int32) *Node

func MakeSimpleColumnDefNode

func MakeSimpleColumnDefNode(colname string, typeName *TypeName, constraints []*Node, location int32) *Node

func MakeSimpleDefElemNode

func MakeSimpleDefElemNode(defname string, arg *Node, location int32) *Node

func MakeSimpleRangeFunctionNode

func MakeSimpleRangeFunctionNode(functions []*Node) *Node

func MakeSimpleRangeVarNode

func MakeSimpleRangeVarNode(relname string, location int32) *Node

func MakeSortByNode

func MakeSortByNode(node *Node, sortbyDir SortByDir, sortbyNulls SortByNulls, location int32) *Node

func MakeStrNode

func MakeStrNode(str string) *Node

type Node_AArrayExpr

type Node_AArrayExpr = ast.Node_AArrayExpr

type Node_AConst

type Node_AConst = ast.Node_AConst

type Node_AExpr

type Node_AExpr = ast.Node_AExpr

type Node_AIndices

type Node_AIndices = ast.Node_AIndices

type Node_AIndirection

type Node_AIndirection = ast.Node_AIndirection

type Node_AStar

type Node_AStar = ast.Node_AStar

type Node_AccessPriv

type Node_AccessPriv = ast.Node_AccessPriv

type Node_Aggref

type Node_Aggref = ast.Node_Aggref

type Node_Alias

type Node_Alias = ast.Node_Alias

type Node_AlterCollationStmt

type Node_AlterCollationStmt = ast.Node_AlterCollationStmt

type Node_AlterDatabaseRefreshCollStmt

type Node_AlterDatabaseRefreshCollStmt = ast.Node_AlterDatabaseRefreshCollStmt

type Node_AlterDatabaseSetStmt

type Node_AlterDatabaseSetStmt = ast.Node_AlterDatabaseSetStmt

type Node_AlterDatabaseStmt

type Node_AlterDatabaseStmt = ast.Node_AlterDatabaseStmt

type Node_AlterDefaultPrivilegesStmt

type Node_AlterDefaultPrivilegesStmt = ast.Node_AlterDefaultPrivilegesStmt

type Node_AlterDomainStmt

type Node_AlterDomainStmt = ast.Node_AlterDomainStmt

type Node_AlterEnumStmt

type Node_AlterEnumStmt = ast.Node_AlterEnumStmt

type Node_AlterEventTrigStmt

type Node_AlterEventTrigStmt = ast.Node_AlterEventTrigStmt

type Node_AlterExtensionContentsStmt

type Node_AlterExtensionContentsStmt = ast.Node_AlterExtensionContentsStmt

type Node_AlterExtensionStmt

type Node_AlterExtensionStmt = ast.Node_AlterExtensionStmt

type Node_AlterFdwStmt

type Node_AlterFdwStmt = ast.Node_AlterFdwStmt

type Node_AlterForeignServerStmt

type Node_AlterForeignServerStmt = ast.Node_AlterForeignServerStmt

type Node_AlterFunctionStmt

type Node_AlterFunctionStmt = ast.Node_AlterFunctionStmt

type Node_AlterObjectDependsStmt

type Node_AlterObjectDependsStmt = ast.Node_AlterObjectDependsStmt

type Node_AlterObjectSchemaStmt

type Node_AlterObjectSchemaStmt = ast.Node_AlterObjectSchemaStmt

type Node_AlterOpFamilyStmt

type Node_AlterOpFamilyStmt = ast.Node_AlterOpFamilyStmt

type Node_AlterOperatorStmt

type Node_AlterOperatorStmt = ast.Node_AlterOperatorStmt

type Node_AlterOwnerStmt

type Node_AlterOwnerStmt = ast.Node_AlterOwnerStmt

type Node_AlterPolicyStmt

type Node_AlterPolicyStmt = ast.Node_AlterPolicyStmt

type Node_AlterPublicationStmt

type Node_AlterPublicationStmt = ast.Node_AlterPublicationStmt

type Node_AlterRoleSetStmt

type Node_AlterRoleSetStmt = ast.Node_AlterRoleSetStmt

type Node_AlterRoleStmt

type Node_AlterRoleStmt = ast.Node_AlterRoleStmt

type Node_AlterSeqStmt

type Node_AlterSeqStmt = ast.Node_AlterSeqStmt

type Node_AlterStatsStmt

type Node_AlterStatsStmt = ast.Node_AlterStatsStmt

type Node_AlterSubscriptionStmt

type Node_AlterSubscriptionStmt = ast.Node_AlterSubscriptionStmt

type Node_AlterSystemStmt

type Node_AlterSystemStmt = ast.Node_AlterSystemStmt

type Node_AlterTableCmd

type Node_AlterTableCmd = ast.Node_AlterTableCmd

type Node_AlterTableMoveAllStmt

type Node_AlterTableMoveAllStmt = ast.Node_AlterTableMoveAllStmt

type Node_AlterTableSpaceOptionsStmt

type Node_AlterTableSpaceOptionsStmt = ast.Node_AlterTableSpaceOptionsStmt

type Node_AlterTableStmt

type Node_AlterTableStmt = ast.Node_AlterTableStmt

type Node_AlterTsconfigurationStmt

type Node_AlterTsconfigurationStmt = ast.Node_AlterTsconfigurationStmt

type Node_AlterTsdictionaryStmt

type Node_AlterTsdictionaryStmt = ast.Node_AlterTsdictionaryStmt

type Node_AlterTypeStmt

type Node_AlterTypeStmt = ast.Node_AlterTypeStmt

type Node_AlterUserMappingStmt

type Node_AlterUserMappingStmt = ast.Node_AlterUserMappingStmt

type Node_AlternativeSubPlan

type Node_AlternativeSubPlan = ast.Node_AlternativeSubPlan

type Node_ArrayCoerceExpr

type Node_ArrayCoerceExpr = ast.Node_ArrayCoerceExpr

type Node_ArrayExpr

type Node_ArrayExpr = ast.Node_ArrayExpr

type Node_AtalterConstraint

type Node_AtalterConstraint = ast.Node_AtalterConstraint

type Node_BitString

type Node_BitString = ast.Node_BitString

type Node_BoolExpr

type Node_BoolExpr = ast.Node_BoolExpr

type Node_Boolean

type Node_Boolean = ast.Node_Boolean

type Node_BooleanTest

type Node_BooleanTest = ast.Node_BooleanTest

type Node_CallContext

type Node_CallContext = ast.Node_CallContext

type Node_CallStmt

type Node_CallStmt = ast.Node_CallStmt

type Node_CaseExpr

type Node_CaseExpr = ast.Node_CaseExpr

type Node_CaseTestExpr

type Node_CaseTestExpr = ast.Node_CaseTestExpr

type Node_CaseWhen

type Node_CaseWhen = ast.Node_CaseWhen

type Node_CheckPointStmt

type Node_CheckPointStmt = ast.Node_CheckPointStmt

type Node_ClosePortalStmt

type Node_ClosePortalStmt = ast.Node_ClosePortalStmt

type Node_ClusterStmt

type Node_ClusterStmt = ast.Node_ClusterStmt

type Node_CoalesceExpr

type Node_CoalesceExpr = ast.Node_CoalesceExpr

type Node_CoerceToDomain

type Node_CoerceToDomain = ast.Node_CoerceToDomain

type Node_CoerceToDomainValue

type Node_CoerceToDomainValue = ast.Node_CoerceToDomainValue

type Node_CoerceViaIo

type Node_CoerceViaIo = ast.Node_CoerceViaIo

type Node_CollateClause

type Node_CollateClause = ast.Node_CollateClause

type Node_CollateExpr

type Node_CollateExpr = ast.Node_CollateExpr

type Node_ColumnDef

type Node_ColumnDef = ast.Node_ColumnDef

type Node_ColumnRef

type Node_ColumnRef = ast.Node_ColumnRef

type Node_CommentStmt

type Node_CommentStmt = ast.Node_CommentStmt

type Node_CommonTableExpr

type Node_CommonTableExpr = ast.Node_CommonTableExpr

type Node_CompositeTypeStmt

type Node_CompositeTypeStmt = ast.Node_CompositeTypeStmt

type Node_Constraint

type Node_Constraint = ast.Node_Constraint

type Node_ConstraintsSetStmt

type Node_ConstraintsSetStmt = ast.Node_ConstraintsSetStmt

type Node_ConvertRowtypeExpr

type Node_ConvertRowtypeExpr = ast.Node_ConvertRowtypeExpr

type Node_CopyStmt

type Node_CopyStmt = ast.Node_CopyStmt

type Node_CreateAmStmt

type Node_CreateAmStmt = ast.Node_CreateAmStmt

type Node_CreateCastStmt

type Node_CreateCastStmt = ast.Node_CreateCastStmt

type Node_CreateConversionStmt

type Node_CreateConversionStmt = ast.Node_CreateConversionStmt

type Node_CreateDomainStmt

type Node_CreateDomainStmt = ast.Node_CreateDomainStmt

type Node_CreateEnumStmt

type Node_CreateEnumStmt = ast.Node_CreateEnumStmt

type Node_CreateEventTrigStmt

type Node_CreateEventTrigStmt = ast.Node_CreateEventTrigStmt

type Node_CreateExtensionStmt

type Node_CreateExtensionStmt = ast.Node_CreateExtensionStmt

type Node_CreateFdwStmt

type Node_CreateFdwStmt = ast.Node_CreateFdwStmt

type Node_CreateForeignServerStmt

type Node_CreateForeignServerStmt = ast.Node_CreateForeignServerStmt

type Node_CreateForeignTableStmt

type Node_CreateForeignTableStmt = ast.Node_CreateForeignTableStmt

type Node_CreateFunctionStmt

type Node_CreateFunctionStmt = ast.Node_CreateFunctionStmt

type Node_CreateOpClassItem

type Node_CreateOpClassItem = ast.Node_CreateOpClassItem

type Node_CreateOpClassStmt

type Node_CreateOpClassStmt = ast.Node_CreateOpClassStmt

type Node_CreateOpFamilyStmt

type Node_CreateOpFamilyStmt = ast.Node_CreateOpFamilyStmt

type Node_CreatePlangStmt

type Node_CreatePlangStmt = ast.Node_CreatePlangStmt

type Node_CreatePolicyStmt

type Node_CreatePolicyStmt = ast.Node_CreatePolicyStmt

type Node_CreatePublicationStmt

type Node_CreatePublicationStmt = ast.Node_CreatePublicationStmt

type Node_CreateRangeStmt

type Node_CreateRangeStmt = ast.Node_CreateRangeStmt

type Node_CreateRoleStmt

type Node_CreateRoleStmt = ast.Node_CreateRoleStmt

type Node_CreateSchemaStmt

type Node_CreateSchemaStmt = ast.Node_CreateSchemaStmt

type Node_CreateSeqStmt

type Node_CreateSeqStmt = ast.Node_CreateSeqStmt

type Node_CreateStatsStmt

type Node_CreateStatsStmt = ast.Node_CreateStatsStmt

type Node_CreateStmt

type Node_CreateStmt = ast.Node_CreateStmt

type Node_CreateSubscriptionStmt

type Node_CreateSubscriptionStmt = ast.Node_CreateSubscriptionStmt

type Node_CreateTableAsStmt

type Node_CreateTableAsStmt = ast.Node_CreateTableAsStmt

type Node_CreateTableSpaceStmt

type Node_CreateTableSpaceStmt = ast.Node_CreateTableSpaceStmt

type Node_CreateTransformStmt

type Node_CreateTransformStmt = ast.Node_CreateTransformStmt

type Node_CreateTrigStmt

type Node_CreateTrigStmt = ast.Node_CreateTrigStmt

type Node_CreateUserMappingStmt

type Node_CreateUserMappingStmt = ast.Node_CreateUserMappingStmt

type Node_CreatedbStmt

type Node_CreatedbStmt = ast.Node_CreatedbStmt

type Node_CtecycleClause

type Node_CtecycleClause = ast.Node_CtecycleClause

type Node_CtesearchClause

type Node_CtesearchClause = ast.Node_CtesearchClause

type Node_CurrentOfExpr

type Node_CurrentOfExpr = ast.Node_CurrentOfExpr

type Node_DeallocateStmt

type Node_DeallocateStmt = ast.Node_DeallocateStmt

type Node_DeclareCursorStmt

type Node_DeclareCursorStmt = ast.Node_DeclareCursorStmt

type Node_DefElem

type Node_DefElem = ast.Node_DefElem

type Node_DefineStmt

type Node_DefineStmt = ast.Node_DefineStmt

type Node_DeleteStmt

type Node_DeleteStmt = ast.Node_DeleteStmt

type Node_DiscardStmt

type Node_DiscardStmt = ast.Node_DiscardStmt

type Node_DistinctExpr

type Node_DistinctExpr = ast.Node_DistinctExpr

type Node_DoStmt

type Node_DoStmt = ast.Node_DoStmt

type Node_DropOwnedStmt

type Node_DropOwnedStmt = ast.Node_DropOwnedStmt

type Node_DropRoleStmt

type Node_DropRoleStmt = ast.Node_DropRoleStmt

type Node_DropStmt

type Node_DropStmt = ast.Node_DropStmt

type Node_DropSubscriptionStmt

type Node_DropSubscriptionStmt = ast.Node_DropSubscriptionStmt

type Node_DropTableSpaceStmt

type Node_DropTableSpaceStmt = ast.Node_DropTableSpaceStmt

type Node_DropUserMappingStmt

type Node_DropUserMappingStmt = ast.Node_DropUserMappingStmt

type Node_DropdbStmt

type Node_DropdbStmt = ast.Node_DropdbStmt

type Node_ExecuteStmt

type Node_ExecuteStmt = ast.Node_ExecuteStmt

type Node_ExplainStmt

type Node_ExplainStmt = ast.Node_ExplainStmt

type Node_FetchStmt

type Node_FetchStmt = ast.Node_FetchStmt

type Node_FieldSelect

type Node_FieldSelect = ast.Node_FieldSelect

type Node_FieldStore

type Node_FieldStore = ast.Node_FieldStore

type Node_Float

type Node_Float = ast.Node_Float

type Node_FromExpr

type Node_FromExpr = ast.Node_FromExpr

type Node_FuncCall

type Node_FuncCall = ast.Node_FuncCall

type Node_FuncExpr

type Node_FuncExpr = ast.Node_FuncExpr

type Node_FunctionParameter

type Node_FunctionParameter = ast.Node_FunctionParameter

type Node_GrantRoleStmt

type Node_GrantRoleStmt = ast.Node_GrantRoleStmt

type Node_GrantStmt

type Node_GrantStmt = ast.Node_GrantStmt

type Node_GroupingFunc

type Node_GroupingFunc = ast.Node_GroupingFunc

type Node_GroupingSet

type Node_GroupingSet = ast.Node_GroupingSet

type Node_ImportForeignSchemaStmt

type Node_ImportForeignSchemaStmt = ast.Node_ImportForeignSchemaStmt

type Node_IndexElem

type Node_IndexElem = ast.Node_IndexElem

type Node_IndexStmt

type Node_IndexStmt = ast.Node_IndexStmt

type Node_InferClause

type Node_InferClause = ast.Node_InferClause

type Node_InferenceElem

type Node_InferenceElem = ast.Node_InferenceElem

type Node_InlineCodeBlock

type Node_InlineCodeBlock = ast.Node_InlineCodeBlock

type Node_InsertStmt

type Node_InsertStmt = ast.Node_InsertStmt

type Node_IntList

type Node_IntList = ast.Node_IntList

type Node_Integer

type Node_Integer = ast.Node_Integer

type Node_IntoClause

type Node_IntoClause = ast.Node_IntoClause

type Node_JoinExpr

type Node_JoinExpr = ast.Node_JoinExpr

type Node_JsonAggConstructor

type Node_JsonAggConstructor = ast.Node_JsonAggConstructor

type Node_JsonArgument

type Node_JsonArgument = ast.Node_JsonArgument

type Node_JsonArrayAgg

type Node_JsonArrayAgg = ast.Node_JsonArrayAgg

type Node_JsonArrayConstructor

type Node_JsonArrayConstructor = ast.Node_JsonArrayConstructor

type Node_JsonArrayQueryConstructor

type Node_JsonArrayQueryConstructor = ast.Node_JsonArrayQueryConstructor

type Node_JsonBehavior

type Node_JsonBehavior = ast.Node_JsonBehavior

type Node_JsonConstructorExpr

type Node_JsonConstructorExpr = ast.Node_JsonConstructorExpr

type Node_JsonExpr

type Node_JsonExpr = ast.Node_JsonExpr

type Node_JsonFormat

type Node_JsonFormat = ast.Node_JsonFormat

type Node_JsonFuncExpr

type Node_JsonFuncExpr = ast.Node_JsonFuncExpr

type Node_JsonIsPredicate

type Node_JsonIsPredicate = ast.Node_JsonIsPredicate

type Node_JsonKeyValue

type Node_JsonKeyValue = ast.Node_JsonKeyValue

type Node_JsonObjectAgg

type Node_JsonObjectAgg = ast.Node_JsonObjectAgg

type Node_JsonObjectConstructor

type Node_JsonObjectConstructor = ast.Node_JsonObjectConstructor

type Node_JsonOutput

type Node_JsonOutput = ast.Node_JsonOutput

type Node_JsonParseExpr

type Node_JsonParseExpr = ast.Node_JsonParseExpr

type Node_JsonReturning

type Node_JsonReturning = ast.Node_JsonReturning

type Node_JsonScalarExpr

type Node_JsonScalarExpr = ast.Node_JsonScalarExpr

type Node_JsonSerializeExpr

type Node_JsonSerializeExpr = ast.Node_JsonSerializeExpr

type Node_JsonTable

type Node_JsonTable = ast.Node_JsonTable

type Node_JsonTableColumn

type Node_JsonTableColumn = ast.Node_JsonTableColumn

type Node_JsonTablePath

type Node_JsonTablePath = ast.Node_JsonTablePath

type Node_JsonTablePathScan

type Node_JsonTablePathScan = ast.Node_JsonTablePathScan

type Node_JsonTablePathSpec

type Node_JsonTablePathSpec = ast.Node_JsonTablePathSpec

type Node_JsonTableSiblingJoin

type Node_JsonTableSiblingJoin = ast.Node_JsonTableSiblingJoin

type Node_JsonValueExpr

type Node_JsonValueExpr = ast.Node_JsonValueExpr

type Node_List

type Node_List = ast.Node_List

type Node_ListenStmt

type Node_ListenStmt = ast.Node_ListenStmt

type Node_LoadStmt

type Node_LoadStmt = ast.Node_LoadStmt

type Node_LockStmt

type Node_LockStmt = ast.Node_LockStmt

type Node_LockingClause

type Node_LockingClause = ast.Node_LockingClause

type Node_MergeAction

type Node_MergeAction = ast.Node_MergeAction

type Node_MergeStmt

type Node_MergeStmt = ast.Node_MergeStmt

type Node_MergeSupportFunc

type Node_MergeSupportFunc = ast.Node_MergeSupportFunc

type Node_MergeWhenClause

type Node_MergeWhenClause = ast.Node_MergeWhenClause

type Node_MinMaxExpr

type Node_MinMaxExpr = ast.Node_MinMaxExpr

type Node_MultiAssignRef

type Node_MultiAssignRef = ast.Node_MultiAssignRef

type Node_NamedArgExpr

type Node_NamedArgExpr = ast.Node_NamedArgExpr

type Node_NextValueExpr

type Node_NextValueExpr = ast.Node_NextValueExpr

type Node_NotifyStmt

type Node_NotifyStmt = ast.Node_NotifyStmt

type Node_NullIfExpr

type Node_NullIfExpr = ast.Node_NullIfExpr

type Node_NullTest

type Node_NullTest = ast.Node_NullTest

type Node_ObjectWithArgs

type Node_ObjectWithArgs = ast.Node_ObjectWithArgs

type Node_OidList

type Node_OidList = ast.Node_OidList

type Node_OnConflictClause

type Node_OnConflictClause = ast.Node_OnConflictClause

type Node_OnConflictExpr

type Node_OnConflictExpr = ast.Node_OnConflictExpr

type Node_OpExpr

type Node_OpExpr = ast.Node_OpExpr

type Node_Param

type Node_Param = ast.Node_Param

type Node_ParamRef

type Node_ParamRef = ast.Node_ParamRef

type Node_PartitionBoundSpec

type Node_PartitionBoundSpec = ast.Node_PartitionBoundSpec

type Node_PartitionCmd

type Node_PartitionCmd = ast.Node_PartitionCmd

type Node_PartitionElem

type Node_PartitionElem = ast.Node_PartitionElem

type Node_PartitionRangeDatum

type Node_PartitionRangeDatum = ast.Node_PartitionRangeDatum

type Node_PartitionSpec

type Node_PartitionSpec = ast.Node_PartitionSpec

type Node_PlassignStmt

type Node_PlassignStmt = ast.Node_PlassignStmt

type Node_PrepareStmt

type Node_PrepareStmt = ast.Node_PrepareStmt

type Node_PublicationObjSpec

type Node_PublicationObjSpec = ast.Node_PublicationObjSpec

type Node_PublicationTable

type Node_PublicationTable = ast.Node_PublicationTable

type Node_Query

type Node_Query = ast.Node_Query

type Node_RangeFunction

type Node_RangeFunction = ast.Node_RangeFunction

type Node_RangeSubselect

type Node_RangeSubselect = ast.Node_RangeSubselect

type Node_RangeTableFunc

type Node_RangeTableFunc = ast.Node_RangeTableFunc

type Node_RangeTableFuncCol

type Node_RangeTableFuncCol = ast.Node_RangeTableFuncCol

type Node_RangeTableSample

type Node_RangeTableSample = ast.Node_RangeTableSample

type Node_RangeTblEntry

type Node_RangeTblEntry = ast.Node_RangeTblEntry

type Node_RangeTblFunction

type Node_RangeTblFunction = ast.Node_RangeTblFunction

type Node_RangeTblRef

type Node_RangeTblRef = ast.Node_RangeTblRef

type Node_RangeVar

type Node_RangeVar = ast.Node_RangeVar

type Node_RawStmt

type Node_RawStmt = ast.Node_RawStmt

type Node_ReassignOwnedStmt

type Node_ReassignOwnedStmt = ast.Node_ReassignOwnedStmt

type Node_RefreshMatViewStmt

type Node_RefreshMatViewStmt = ast.Node_RefreshMatViewStmt

type Node_ReindexStmt

type Node_ReindexStmt = ast.Node_ReindexStmt

type Node_RelabelType

type Node_RelabelType = ast.Node_RelabelType

type Node_RenameStmt

type Node_RenameStmt = ast.Node_RenameStmt

type Node_ReplicaIdentityStmt

type Node_ReplicaIdentityStmt = ast.Node_ReplicaIdentityStmt

type Node_ResTarget

type Node_ResTarget = ast.Node_ResTarget

type Node_ReturnStmt

type Node_ReturnStmt = ast.Node_ReturnStmt

type Node_ReturningClause

type Node_ReturningClause = ast.Node_ReturningClause

type Node_ReturningExpr

type Node_ReturningExpr = ast.Node_ReturningExpr

type Node_ReturningOption

type Node_ReturningOption = ast.Node_ReturningOption

type Node_RoleSpec

type Node_RoleSpec = ast.Node_RoleSpec

type Node_RowCompareExpr

type Node_RowCompareExpr = ast.Node_RowCompareExpr

type Node_RowExpr

type Node_RowExpr = ast.Node_RowExpr

type Node_RowMarkClause

type Node_RowMarkClause = ast.Node_RowMarkClause

type Node_RtepermissionInfo

type Node_RtepermissionInfo = ast.Node_RtepermissionInfo

type Node_RuleStmt

type Node_RuleStmt = ast.Node_RuleStmt

type Node_ScalarArrayOpExpr

type Node_ScalarArrayOpExpr = ast.Node_ScalarArrayOpExpr

type Node_SecLabelStmt

type Node_SecLabelStmt = ast.Node_SecLabelStmt

type Node_SelectStmt

type Node_SelectStmt = ast.Node_SelectStmt

type Node_SetOperationStmt

type Node_SetOperationStmt = ast.Node_SetOperationStmt

type Node_SetToDefault

type Node_SetToDefault = ast.Node_SetToDefault

type Node_SortBy

type Node_SortBy = ast.Node_SortBy

type Node_SortGroupClause

type Node_SortGroupClause = ast.Node_SortGroupClause

type Node_SqlvalueFunction

type Node_SqlvalueFunction = ast.Node_SqlvalueFunction

type Node_StatsElem

type Node_StatsElem = ast.Node_StatsElem

type Node_String_

type Node_String_ = ast.Node_String_
type Node_SubLink = ast.Node_SubLink

type Node_SubPlan

type Node_SubPlan = ast.Node_SubPlan

type Node_SubscriptingRef

type Node_SubscriptingRef = ast.Node_SubscriptingRef

type Node_TableFunc

type Node_TableFunc = ast.Node_TableFunc

type Node_TableLikeClause

type Node_TableLikeClause = ast.Node_TableLikeClause

type Node_TableSampleClause

type Node_TableSampleClause = ast.Node_TableSampleClause

type Node_TargetEntry

type Node_TargetEntry = ast.Node_TargetEntry

type Node_TransactionStmt

type Node_TransactionStmt = ast.Node_TransactionStmt

type Node_TriggerTransition

type Node_TriggerTransition = ast.Node_TriggerTransition

type Node_TruncateStmt

type Node_TruncateStmt = ast.Node_TruncateStmt

type Node_TypeCast

type Node_TypeCast = ast.Node_TypeCast

type Node_TypeName

type Node_TypeName = ast.Node_TypeName

type Node_UnlistenStmt

type Node_UnlistenStmt = ast.Node_UnlistenStmt

type Node_UpdateStmt

type Node_UpdateStmt = ast.Node_UpdateStmt

type Node_VacuumRelation

type Node_VacuumRelation = ast.Node_VacuumRelation

type Node_VacuumStmt

type Node_VacuumStmt = ast.Node_VacuumStmt

type Node_Var

type Node_Var = ast.Node_Var

type Node_VariableSetStmt

type Node_VariableSetStmt = ast.Node_VariableSetStmt

type Node_VariableShowStmt

type Node_VariableShowStmt = ast.Node_VariableShowStmt

type Node_ViewStmt

type Node_ViewStmt = ast.Node_ViewStmt

type Node_WindowClause

type Node_WindowClause = ast.Node_WindowClause

type Node_WindowDef

type Node_WindowDef = ast.Node_WindowDef

type Node_WindowFunc

type Node_WindowFunc = ast.Node_WindowFunc

type Node_WindowFuncRunCondition

type Node_WindowFuncRunCondition = ast.Node_WindowFuncRunCondition

type Node_WithCheckOption

type Node_WithCheckOption = ast.Node_WithCheckOption

type Node_WithClause

type Node_WithClause = ast.Node_WithClause

type Node_XmlExpr

type Node_XmlExpr = ast.Node_XmlExpr

type Node_XmlSerialize

type Node_XmlSerialize = ast.Node_XmlSerialize

type NotifyStmt

type NotifyStmt = ast.NotifyStmt

type NullIfExpr

type NullIfExpr = ast.NullIfExpr

type NullTest

type NullTest = ast.NullTest

type NullTestType

type NullTestType = ast.NullTestType

type ObjectType

type ObjectType = ast.ObjectType

type ObjectWithArgs

type ObjectWithArgs = ast.ObjectWithArgs

type OidList

type OidList = ast.OidList

type OnCommitAction

type OnCommitAction = ast.OnCommitAction

type OnConflictAction

type OnConflictAction = ast.OnConflictAction

type OnConflictClause

type OnConflictClause = ast.OnConflictClause

type OnConflictExpr

type OnConflictExpr = ast.OnConflictExpr

type OpExpr

type OpExpr = ast.OpExpr

type OverridingKind

type OverridingKind = ast.OverridingKind

type PLAssignStmt

type PLAssignStmt = ast.PLAssignStmt

type Param

type Param = ast.Param

type ParamKind

type ParamKind = ast.ParamKind

type ParamRef

type ParamRef = ast.ParamRef

type ParseResult

type ParseResult = ast.ParseResult

func Parse

func Parse(input string) (tree *ParseResult, err error)

Parse the given SQL statement into a parse tree (Go struct format)

Upstream this decodes the protobuf the C parser returns across the cgo boundary; here the parser is Go and hands back the tree itself, so parser.ParseToTree skips the encode/decode. Behavior is unchanged — see its comment for the UTF-8 fallback that keeps it that way.

type PartitionBoundSpec

type PartitionBoundSpec = ast.PartitionBoundSpec

type PartitionCmd

type PartitionCmd = ast.PartitionCmd

type PartitionElem

type PartitionElem = ast.PartitionElem

type PartitionRangeDatum

type PartitionRangeDatum = ast.PartitionRangeDatum

type PartitionRangeDatumKind

type PartitionRangeDatumKind = ast.PartitionRangeDatumKind

type PartitionSpec

type PartitionSpec = ast.PartitionSpec

type PartitionStrategy

type PartitionStrategy = ast.PartitionStrategy

type PrepareStmt

type PrepareStmt = ast.PrepareStmt

type PublicationObjSpec

type PublicationObjSpec = ast.PublicationObjSpec

type PublicationObjSpecType

type PublicationObjSpecType = ast.PublicationObjSpecType

type PublicationTable

type PublicationTable = ast.PublicationTable

type Query

type Query = ast.Query

type QuerySource

type QuerySource = ast.QuerySource

type RTEKind

type RTEKind = ast.RTEKind

type RTEPermissionInfo

type RTEPermissionInfo = ast.RTEPermissionInfo

type RangeFunction

type RangeFunction = ast.RangeFunction

type RangeSubselect

type RangeSubselect = ast.RangeSubselect

type RangeTableFunc

type RangeTableFunc = ast.RangeTableFunc

type RangeTableFuncCol

type RangeTableFuncCol = ast.RangeTableFuncCol

type RangeTableSample

type RangeTableSample = ast.RangeTableSample

type RangeTblEntry

type RangeTblEntry = ast.RangeTblEntry

type RangeTblFunction

type RangeTblFunction = ast.RangeTblFunction

type RangeTblRef

type RangeTblRef = ast.RangeTblRef

type RangeVar

type RangeVar = ast.RangeVar

func MakeFullRangeVar

func MakeFullRangeVar(schemaname string, relname string, alias string, location int32) *RangeVar

func MakeSimpleRangeVar

func MakeSimpleRangeVar(relname string, location int32) *RangeVar

type RawStmt

type RawStmt = ast.RawStmt

type ReassignOwnedStmt

type ReassignOwnedStmt = ast.ReassignOwnedStmt

type RefreshMatViewStmt

type RefreshMatViewStmt = ast.RefreshMatViewStmt

type ReindexObjectType

type ReindexObjectType = ast.ReindexObjectType

type ReindexStmt

type ReindexStmt = ast.ReindexStmt

type RelabelType

type RelabelType = ast.RelabelType

type RenameStmt

type RenameStmt = ast.RenameStmt

type ReplicaIdentityStmt

type ReplicaIdentityStmt = ast.ReplicaIdentityStmt

type ResTarget

type ResTarget = ast.ResTarget

type ReturnStmt

type ReturnStmt = ast.ReturnStmt

type ReturningClause

type ReturningClause = ast.ReturningClause

type ReturningExpr

type ReturningExpr = ast.ReturningExpr

type ReturningOption

type ReturningOption = ast.ReturningOption

type ReturningOptionKind

type ReturningOptionKind = ast.ReturningOptionKind

type RoleSpec

type RoleSpec = ast.RoleSpec

type RoleSpecType

type RoleSpecType = ast.RoleSpecType

type RoleStmtType

type RoleStmtType = ast.RoleStmtType

type RowCompareExpr

type RowCompareExpr = ast.RowCompareExpr

type RowExpr

type RowExpr = ast.RowExpr

type RowMarkClause

type RowMarkClause = ast.RowMarkClause

type RuleStmt

type RuleStmt = ast.RuleStmt

type SQLValueFunction

type SQLValueFunction = ast.SQLValueFunction

type SQLValueFunctionOp

type SQLValueFunctionOp = ast.SQLValueFunctionOp

type ScalarArrayOpExpr

type ScalarArrayOpExpr = ast.ScalarArrayOpExpr

type ScanResult

type ScanResult = ast.ScanResult

func Scan

func Scan(input string) (result *ScanResult, err error)

type ScanToken

type ScanToken = ast.ScanToken

type SecLabelStmt

type SecLabelStmt = ast.SecLabelStmt

type SelectStmt

type SelectStmt = ast.SelectStmt

type SetOpCmd

type SetOpCmd = ast.SetOpCmd

type SetOpStrategy

type SetOpStrategy = ast.SetOpStrategy

type SetOperation

type SetOperation = ast.SetOperation

type SetOperationStmt

type SetOperationStmt = ast.SetOperationStmt

type SetQuantifier

type SetQuantifier = ast.SetQuantifier

type SetToDefault

type SetToDefault = ast.SetToDefault

type SortBy

type SortBy = ast.SortBy

type SortByDir

type SortByDir = ast.SortByDir

type SortByNulls

type SortByNulls = ast.SortByNulls

type SortGroupClause

type SortGroupClause = ast.SortGroupClause

type StatsElem

type StatsElem = ast.StatsElem

type String

type String = ast.String
type SubLink = ast.SubLink

type SubLinkType

type SubLinkType = ast.SubLinkType

type SubPlan

type SubPlan = ast.SubPlan

type SubscriptingRef

type SubscriptingRef = ast.SubscriptingRef

type SummaryResult

type SummaryResult = ast.SummaryResult

func Summary

func Summary(input string, truncateLimit int) (result *SummaryResult, err error)

Summary - Extracts summary information from SQL statement

Optionally, you can pass a positive numbered truncateLimit to return a "smart" truncated version of the input statement that is at most limit length.

type SummaryResult_Context

type SummaryResult_Context = ast.SummaryResult_Context

type SummaryResult_FilterColumn

type SummaryResult_FilterColumn = ast.SummaryResult_FilterColumn

type SummaryResult_Function

type SummaryResult_Function = ast.SummaryResult_Function

type SummaryResult_Table

type SummaryResult_Table = ast.SummaryResult_Table

type TableFunc

type TableFunc = ast.TableFunc

type TableFuncType

type TableFuncType = ast.TableFuncType

type TableLikeClause

type TableLikeClause = ast.TableLikeClause

type TableLikeOption

type TableLikeOption = ast.TableLikeOption

type TableSampleClause

type TableSampleClause = ast.TableSampleClause

type TargetEntry

type TargetEntry = ast.TargetEntry

type Token

type Token = ast.Token

type TransactionStmt

type TransactionStmt = ast.TransactionStmt

type TransactionStmtKind

type TransactionStmtKind = ast.TransactionStmtKind

type TriggerTransition

type TriggerTransition = ast.TriggerTransition

type TruncateStmt

type TruncateStmt = ast.TruncateStmt

type TypeCast

type TypeCast = ast.TypeCast

type TypeName

type TypeName = ast.TypeName

type UnlistenStmt

type UnlistenStmt = ast.UnlistenStmt

type UpdateStmt

type UpdateStmt = ast.UpdateStmt

type VacuumRelation

type VacuumRelation = ast.VacuumRelation

type VacuumStmt

type VacuumStmt = ast.VacuumStmt

type Var

type Var = ast.Var

type VarReturningType

type VarReturningType = ast.VarReturningType

type VariableSetKind

type VariableSetKind = ast.VariableSetKind

type VariableSetStmt

type VariableSetStmt = ast.VariableSetStmt

type VariableShowStmt

type VariableShowStmt = ast.VariableShowStmt

type ViewCheckOption

type ViewCheckOption = ast.ViewCheckOption

type ViewStmt

type ViewStmt = ast.ViewStmt

type WCOKind

type WCOKind = ast.WCOKind

type WindowClause

type WindowClause = ast.WindowClause

type WindowDef

type WindowDef = ast.WindowDef

type WindowFunc

type WindowFunc = ast.WindowFunc

type WindowFuncRunCondition

type WindowFuncRunCondition = ast.WindowFuncRunCondition

type WithCheckOption

type WithCheckOption = ast.WithCheckOption

type WithClause

type WithClause = ast.WithClause

type XmlExpr

type XmlExpr = ast.XmlExpr

type XmlExprOp

type XmlExprOp = ast.XmlExprOp

type XmlOptionType

type XmlOptionType = ast.XmlOptionType

type XmlSerialize

type XmlSerialize = ast.XmlSerialize

Directories

Path Synopsis
cmd
difftest command
Command difftest will run mutation differential fuzzing against the live oracle (milestone 12).
Command difftest will run mutation differential fuzzing against the live oracle (milestone 12).
difftodo command
difftodo prints input, expected, and actual output for the still-failing todo cases of a .test file (any suite; the suite is inferred from the path).
difftodo prints input, expected, and actual output for the still-failing todo cases of a .test file (any suite; the suite is inferred from the path).
generate command
Command generate emits every generated file in the module from the pinned inputs (srcdata/, internal/reference/kwlist.h, ast/pg_query.pb.go).
Command generate emits every generated file in the module from the pinned inputs (srcdata/, internal/reference/kwlist.h, ast/pg_query.pb.go).
next-test command
Command next-test picks the next todo case from the corpus — the entry point of the development loop (see CLAUDE.md):
Command next-test picks the next todo case from the corpus — the entry point of the development loop (see CLAUDE.md):
regenerate command
Command regenerate derives every golden in parser/testdata from the pinned oracle (libpg_query 18.0.0 via pg_query_go v6.2.2, cgo).
Command regenerate derives every golden in parser/testdata from the pinned oracle (libpg_query 18.0.0 via pg_query_go v6.2.2, cgo).
internal
deparse
Ported from postgres_deparse.c (libpg_query 18.0.0).
Ported from postgres_deparse.c (libpg_query 18.0.0).
emit
Package emit renders parse trees as JSON with byte-parity to libpg_query's hand-rolled C emitter (pg_query_outfuncs_json.c + pg_query_json_helper.c at the pinned 18.0.0).
Package emit renders parse trees as JSON with byte-parity to libpg_query's hand-rolled C emitter (pg_query_outfuncs_json.c + pg_query_json_helper.c at the pinned 18.0.0).
fingerprint
Package fingerprint computes libpg_query's version-3 query fingerprints (pg_query_fingerprint.c + the generated pg_query_fingerprint_defs.c / pg_query_fingerprint_conds.c at the pinned 18.0.0).
Package fingerprint computes libpg_query's version-3 query fingerprints (pg_query_fingerprint.c + the generated pg_query_fingerprint_defs.c / pg_query_fingerprint_conds.c at the pinned 18.0.0).
lexer
Package lexer is a hand-written port of PostgreSQL's scanner as patched and pinned by libpg_query 18.0.0 (internal/reference/scan.l), plus the base_yylex token-merge filter from internal/reference/parser.c.
Package lexer is a hand-written port of PostgreSQL's scanner as patched and pinned by libpg_query 18.0.0 (internal/reference/scan.l), plus the base_yylex token-merge filter from internal/reference/parser.c.
normalize
Package normalize ports pg_query_normalize.c at the pinned 18.0.0: constants in the query text are replaced with $n parameter references, numbered in tree-walk order after the highest existing $n.
Package normalize ports pg_query_normalize.c at the pinned 18.0.0: constants in the query text are replaced with $n parameter references, numbered in tree-walk order after the highest existing $n.
parse
Package parse is the hand-written recursive-descent port of the pinned grammar (internal/reference/gram.y, libpg_query 18.0.0).
Package parse is the hand-written recursive-descent port of the pinned grammar (internal/reference/gram.y, libpg_query 18.0.0).
plpgsql
Package plpgsql is the hand-written port of libpg_query's PL/pgSQL support as pinned at 18.0.0: pl_gram.y + pl_scanner.c (patched, see internal/reference/), the pl_comp.c / pl_funcs.c subset libpg_query extracts (including its mocks — parse_datatype and friends do not consult the catalogs), pg_query_json_plpgsql.c, and the pg_query_parse_plpgsql.c driver behind ParsePlPgSqlToJSON.
Package plpgsql is the hand-written port of libpg_query's PL/pgSQL support as pinned at 18.0.0: pl_gram.y + pl_scanner.c (patched, see internal/reference/), the pl_comp.c / pl_funcs.c subset libpg_query extracts (including its mocks — parse_datatype and friends do not consult the catalogs), pg_query_json_plpgsql.c, and the pg_query_parse_plpgsql.c driver behind ParsePlPgSqlToJSON.
rawwalk
Package rawwalk is raw_expression_tree_walker (src/backend/nodes/ nodeFuncs.c, PostgreSQL 18) over the protobuf tree, gated exactly as pg_query_raw_tree_walker_supports allows: node types outside the walker's switch return false without descending.
Package rawwalk is raw_expression_tree_walker (src/backend/nodes/ nodeFuncs.c, PostgreSQL 18) over the protobuf tree, gated exactly as pg_query_raw_tree_walker_supports allows: node types outside the walker's switch return false without descending.
summary
pg_qsort (src/port/qsort.c via lib/sort_template.h): the Bentley & McIlroy quicksort PostgreSQL uses — list_sort() maps to it at the pin (port.h defines qsort as pg_qsort).
pg_qsort (src/port/qsort.c via lib/sort_template.h): the Bentley & McIlroy quicksort PostgreSQL uses — list_sort() maps to it at the pin (port.h defines qsort as pg_qsort).
testfile
Package testfile reads and writes the consolidated corpus format shared by the sqlc parser family: cases separated by `== <name>` lines, input and expectation separated by a `--` line, with a metadata.json sidecar per file tracking which cases are still todo.
Package testfile reads and writes the consolidated corpus format shared by the sqlc parser family: cases separated by `== <name>` lines, input and expectation separated by a `--` line, with a metadata.json sidecar per file tracking which cases are still todo.
xxh3
Package xxh3 is an in-house, pure Go implementation of the XXH3 hash function's 64-bit variant (XXH3_64bits_withSeed), ported from the xxHash reference implementation vendored by libpg_query (xxhash.h, v0.8.x, BSD-2-Clause, (c) Yann Collet).
Package xxh3 is an in-house, pure Go implementation of the XXH3 hash function's 64-bit variant (XXH3_64bits_withSeed), ported from the xxHash reference implementation vendored by libpg_query (xxhash.h, v0.8.x, BSD-2-Clause, (c) Yann Collet).
Package parser mirrors pg_query_go's parser subpackage: the Error type and the byte-level (protobuf-encoded) entry points.
Package parser mirrors pg_query_go's parser subpackage: the Error type and the byte-level (protobuf-encoded) entry points.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL