Documentation
¶
Index ¶
- type A_ArrayExpr
- type A_Const
- type A_Expr
- type A_Expr_Kind
- type A_Indices
- type A_Indirection
- type A_Star
- type AccessPriv
- type AclMode
- type AggSplit
- type AggStrategy
- type Aggref
- type Alias
- type AlterCollationStmt
- type AlterDatabaseSetStmt
- type AlterDatabaseStmt
- type AlterDefaultPrivilegesStmt
- type AlterDomainStmt
- type AlterEnumStmt
- type AlterEventTrigStmt
- type AlterExtensionContentsStmt
- type AlterExtensionStmt
- type AlterFdwStmt
- type AlterForeignServerStmt
- type AlterFunctionStmt
- type AlterObjectDependsStmt
- type AlterObjectSchemaStmt
- type AlterOpFamilyStmt
- type AlterOperatorStmt
- type AlterOwnerStmt
- type AlterPolicyStmt
- type AlterPublicationStmt
- type AlterRoleSetStmt
- type AlterRoleStmt
- type AlterSeqStmt
- type AlterSubscriptionStmt
- type AlterSubscriptionType
- type AlterSystemStmt
- type AlterTSConfigType
- type AlterTSConfigurationStmt
- type AlterTSDictionaryStmt
- type AlterTableCmd
- type AlterTableMoveAllStmt
- type AlterTableSpaceOptionsStmt
- type AlterTableStmt
- type AlterTableType
- type AlterUserMappingStmt
- type AlternativeSubPlan
- type ArrayCoerceExpr
- type ArrayExpr
- type ArrayRef
- type AttrNumber
- type BitString
- type BlockId
- type BlockIdData
- type BlockNumber
- type BoolExpr
- type BoolExprType
- type BoolTestType
- type BooleanTest
- type CaseExpr
- type CaseTestExpr
- type CaseWhen
- type CheckPointStmt
- type ClosePortalStmt
- type ClusterStmt
- type CmdType
- type CoalesceExpr
- type CoerceToDomain
- type CoerceToDomainValue
- type CoerceViaIO
- type CoercionContext
- type CoercionForm
- type CollateClause
- type CollateExpr
- type ColumnDef
- type ColumnRef
- type CommandId
- type CommentStmt
- type CommonTableExpr
- type CompositeTypeStmt
- type Const
- type ConstrType
- type Constraint
- type ConstraintsSetStmt
- type ConvertRowtypeExpr
- type CopyStmt
- type Cost
- type CreateAmStmt
- type CreateCastStmt
- type CreateConversionStmt
- type CreateDomainStmt
- type CreateEnumStmt
- type CreateEventTrigStmt
- type CreateExtensionStmt
- type CreateFdwStmt
- type CreateForeignServerStmt
- type CreateForeignTableStmt
- type CreateFunctionStmt
- type CreateOpClassItem
- type CreateOpClassStmt
- type CreateOpFamilyStmt
- type CreatePLangStmt
- type CreatePolicyStmt
- type CreatePublicationStmt
- type CreateRangeStmt
- type CreateRoleStmt
- type CreateSchemaStmt
- type CreateSeqStmt
- type CreateStatsStmt
- type CreateStmt
- type CreateSubscriptionStmt
- type CreateTableAsStmt
- type CreateTableSpaceStmt
- type CreateTransformStmt
- type CreateTrigStmt
- type CreateUserMappingStmt
- type CreatedbStmt
- type CurrentOfExpr
- type Datum
- type DatumPtr
- type DeallocateStmt
- type DeclareCursorStmt
- type DefElem
- type DefElemAction
- type DefineStmt
- type DeleteStmt
- type DiscardMode
- type DiscardStmt
- type DistinctExpr
- type DoStmt
- type DropBehavior
- type DropOwnedStmt
- type DropRoleStmt
- type DropStmt
- type DropSubscriptionStmt
- type DropTableSpaceStmt
- type DropUserMappingStmt
- type DropdbStmt
- type ExecuteStmt
- type ExplainStmt
- type Expr
- type FetchDirection
- type FetchStmt
- type FieldSelect
- type FieldStore
- type Float
- type FromExpr
- type FuncExpr
- type FunctionParameter
- type FunctionParameterMode
- type GrantObjectType
- type GrantRoleStmt
- type GrantStmt
- type GrantTargetType
- type GroupingFunc
- type GroupingSet
- type GroupingSetKind
- type ImportForeignSchemaStmt
- type ImportForeignSchemaType
- type Index
- type IndexElem
- type IndexStmt
- type InferClause
- type InferenceElem
- type InlineCodeBlock
- type InsertStmt
- type Integer
- type IntoClause
- type JoinExpr
- type JoinType
- type ListenStmt
- type LoadStmt
- type LocalTransactionId
- type LockClauseStrength
- type LockStmt
- type LockWaitPolicy
- type LockingClause
- type MinMaxExpr
- type MinMaxOp
- type MultiAssignRef
- type MultiXactId
- type MultiXactOffset
- type NamedArgExpr
- type NextValueExpr
- type NotifyStmt
- type Null
- type NullIfExpr
- type NullTest
- type NullTestType
- type ObjectType
- type ObjectWithArgs
- type Offset
- type Oid
- type OnCommitAction
- type OnConflictAction
- type OnConflictClause
- type OnConflictExpr
- type OpExpr
- type OverridingKind
- type Param
- type ParamExecData
- type ParamExternData
- type ParamKind
- type ParamListInfo
- type ParamListInfoData
- type ParamRef
- type PartitionBoundSpec
- type PartitionCmd
- type PartitionElem
- type PartitionRangeDatum
- type PartitionRangeDatumKind
- type PartitionSpec
- type Pointer
- type PrepareStmt
- type Query
- type QuerySource
- type RTEKind
- type RangeFunction
- type RangeSubselect
- type RangeTableFunc
- type RangeTableFuncCol
- type RangeTableSample
- type RangeTblEntry
- type RangeTblFunction
- type RangeTblRef
- type RangeVar
- type RawStmt
- type ReassignOwnedStmt
- type RefreshMatViewStmt
- type RegProcedure
- type ReindexObjectType
- type ReindexStmt
- type RelabelType
- type RenameStmt
- type ReplicaIdentityStmt
- type ResTarget
- type RoleSpec
- type RoleSpecType
- type RoleStmtType
- type RowCompareExpr
- type RowCompareType
- type RowExpr
- type RowMarkClause
- type RuleStmt
- type SQLValueFunction
- type SQLValueFunctionOp
- type ScalarArrayOpExpr
- type ScanDirection
- type SecLabelStmt
- type SelectStmt
- type Selectivity
- type SetOpCmd
- type SetOpStrategy
- type SetOperation
- type SetOperationStmt
- type SetToDefault
- type SortBy
- type SortByDir
- type SortByNulls
- type SortGroupClause
- type String
- type SubLink
- type SubLinkType
- type SubPlan
- type SubTransactionId
- type TableFunc
- type TableLikeClause
- type TableLikeOption
- type TableSampleClause
- type TargetEntry
- type TransactionId
- type TransactionStmt
- type TransactionStmtKind
- type TriggerTransition
- type TruncateStmt
- type TypeCast
- type TypeName
- type UnlistenStmt
- type UpdateStmt
- type VacuumOption
- type VacuumStmt
- type Var
- type VariableSetKind
- type VariableSetStmt
- type VariableShowStmt
- type ViewCheckOption
- type ViewStmt
- type WCOKind
- type WindowClause
- type WindowFunc
- type WithCheckOption
- type WithClause
- type XmlExpr
- type XmlExprOp
- type XmlOptionType
- type XmlSerialize
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type A_ArrayExpr ¶
func (*A_ArrayExpr) Pos ¶
func (n *A_ArrayExpr) Pos() int
type A_Expr_Kind ¶
type A_Expr_Kind uint
func (*A_Expr_Kind) Pos ¶
func (n *A_Expr_Kind) Pos() int
type A_Indirection ¶
func (*A_Indirection) Pos ¶
func (n *A_Indirection) Pos() int
type AccessPriv ¶
func (*AccessPriv) Pos ¶
func (n *AccessPriv) Pos() int
type AggStrategy ¶
type AggStrategy uint
func (*AggStrategy) Pos ¶
func (n *AggStrategy) Pos() int
type Aggref ¶
type Aggref struct { Xpr ast.Node Aggfnoid Oid Aggtype Oid Aggcollid Oid Inputcollid Oid Aggtranstype Oid Aggargtypes *ast.List Aggdirectargs *ast.List Args *ast.List Aggorder *ast.List Aggdistinct *ast.List Aggfilter ast.Node Aggstar bool Aggvariadic bool Aggkind byte Agglevelsup Index Aggsplit AggSplit Location int }
type AlterCollationStmt ¶
func (*AlterCollationStmt) Pos ¶
func (n *AlterCollationStmt) Pos() int
type AlterDatabaseSetStmt ¶
type AlterDatabaseSetStmt struct { Dbname *string Setstmt *VariableSetStmt }
func (*AlterDatabaseSetStmt) Pos ¶
func (n *AlterDatabaseSetStmt) Pos() int
type AlterDatabaseStmt ¶
func (*AlterDatabaseStmt) Pos ¶
func (n *AlterDatabaseStmt) Pos() int
type AlterDefaultPrivilegesStmt ¶
func (*AlterDefaultPrivilegesStmt) Pos ¶
func (n *AlterDefaultPrivilegesStmt) Pos() int
type AlterDomainStmt ¶
type AlterDomainStmt struct { Subtype byte TypeName *ast.List Name *string Def ast.Node Behavior DropBehavior MissingOk bool }
func (*AlterDomainStmt) Pos ¶
func (n *AlterDomainStmt) Pos() int
type AlterEnumStmt ¶
type AlterEnumStmt struct { TypeName *ast.List OldVal *string NewVal *string NewValNeighbor *string NewValIsAfter bool SkipIfNewValExists bool }
func (*AlterEnumStmt) Pos ¶
func (n *AlterEnumStmt) Pos() int
type AlterEventTrigStmt ¶
func (*AlterEventTrigStmt) Pos ¶
func (n *AlterEventTrigStmt) Pos() int
type AlterExtensionContentsStmt ¶
type AlterExtensionContentsStmt struct { Extname *string Action int Objtype ObjectType Object ast.Node }
func (*AlterExtensionContentsStmt) Pos ¶
func (n *AlterExtensionContentsStmt) Pos() int
type AlterExtensionStmt ¶
func (*AlterExtensionStmt) Pos ¶
func (n *AlterExtensionStmt) Pos() int
type AlterFdwStmt ¶
func (*AlterFdwStmt) Pos ¶
func (n *AlterFdwStmt) Pos() int
type AlterForeignServerStmt ¶
type AlterForeignServerStmt struct { Servername *string Version *string Options *ast.List HasVersion bool }
func (*AlterForeignServerStmt) Pos ¶
func (n *AlterForeignServerStmt) Pos() int
type AlterFunctionStmt ¶
type AlterFunctionStmt struct { Func *ObjectWithArgs Actions *ast.List }
func (*AlterFunctionStmt) Pos ¶
func (n *AlterFunctionStmt) Pos() int
type AlterObjectDependsStmt ¶
type AlterObjectDependsStmt struct { ObjectType ObjectType Relation *RangeVar Object ast.Node Extname ast.Node }
func (*AlterObjectDependsStmt) Pos ¶
func (n *AlterObjectDependsStmt) Pos() int
type AlterObjectSchemaStmt ¶
type AlterObjectSchemaStmt struct { ObjectType ObjectType Relation *RangeVar Object ast.Node Newschema *string MissingOk bool }
func (*AlterObjectSchemaStmt) Pos ¶
func (n *AlterObjectSchemaStmt) Pos() int
type AlterOpFamilyStmt ¶
func (*AlterOpFamilyStmt) Pos ¶
func (n *AlterOpFamilyStmt) Pos() int
type AlterOperatorStmt ¶
type AlterOperatorStmt struct { Opername *ObjectWithArgs Options *ast.List }
func (*AlterOperatorStmt) Pos ¶
func (n *AlterOperatorStmt) Pos() int
type AlterOwnerStmt ¶
type AlterOwnerStmt struct { ObjectType ObjectType Relation *RangeVar Object ast.Node Newowner *RoleSpec }
func (*AlterOwnerStmt) Pos ¶
func (n *AlterOwnerStmt) Pos() int
type AlterPolicyStmt ¶
type AlterPolicyStmt struct { PolicyName *string Table *RangeVar Roles *ast.List Qual ast.Node WithCheck ast.Node }
func (*AlterPolicyStmt) Pos ¶
func (n *AlterPolicyStmt) Pos() int
type AlterPublicationStmt ¶
type AlterPublicationStmt struct { Pubname *string Options *ast.List Tables *ast.List ForAllTables bool TableAction DefElemAction }
func (*AlterPublicationStmt) Pos ¶
func (n *AlterPublicationStmt) Pos() int
type AlterRoleSetStmt ¶
type AlterRoleSetStmt struct { Role *RoleSpec Database *string Setstmt *VariableSetStmt }
func (*AlterRoleSetStmt) Pos ¶
func (n *AlterRoleSetStmt) Pos() int
type AlterRoleStmt ¶
func (*AlterRoleStmt) Pos ¶
func (n *AlterRoleStmt) Pos() int
type AlterSeqStmt ¶
func (*AlterSeqStmt) Pos ¶
func (n *AlterSeqStmt) Pos() int
type AlterSubscriptionStmt ¶
type AlterSubscriptionStmt struct { Kind AlterSubscriptionType Subname *string Conninfo *string Publication *ast.List Options *ast.List }
func (*AlterSubscriptionStmt) Pos ¶
func (n *AlterSubscriptionStmt) Pos() int
type AlterSubscriptionType ¶
type AlterSubscriptionType uint
func (*AlterSubscriptionType) Pos ¶
func (n *AlterSubscriptionType) Pos() int
type AlterSystemStmt ¶
type AlterSystemStmt struct {
Setstmt *VariableSetStmt
}
func (*AlterSystemStmt) Pos ¶
func (n *AlterSystemStmt) Pos() int
type AlterTSConfigType ¶
type AlterTSConfigType uint
func (*AlterTSConfigType) Pos ¶
func (n *AlterTSConfigType) Pos() int
type AlterTSConfigurationStmt ¶
type AlterTSConfigurationStmt struct { Kind AlterTSConfigType Cfgname *ast.List Tokentype *ast.List Dicts *ast.List Override bool Replace bool MissingOk bool }
func (*AlterTSConfigurationStmt) Pos ¶
func (n *AlterTSConfigurationStmt) Pos() int
type AlterTSDictionaryStmt ¶
func (*AlterTSDictionaryStmt) Pos ¶
func (n *AlterTSDictionaryStmt) Pos() int
type AlterTableCmd ¶
type AlterTableCmd struct { Subtype AlterTableType Name *string Newowner *RoleSpec Def ast.Node Behavior DropBehavior MissingOk bool }
func (*AlterTableCmd) Pos ¶
func (n *AlterTableCmd) Pos() int
type AlterTableMoveAllStmt ¶
type AlterTableMoveAllStmt struct { OrigTablespacename *string Objtype ObjectType Roles *ast.List NewTablespacename *string Nowait bool }
func (*AlterTableMoveAllStmt) Pos ¶
func (n *AlterTableMoveAllStmt) Pos() int
type AlterTableSpaceOptionsStmt ¶
func (*AlterTableSpaceOptionsStmt) Pos ¶
func (n *AlterTableSpaceOptionsStmt) Pos() int
type AlterTableStmt ¶
type AlterTableStmt struct { Relation *RangeVar Cmds *ast.List Relkind ObjectType MissingOk bool }
func (*AlterTableStmt) Pos ¶
func (n *AlterTableStmt) Pos() int
type AlterTableType ¶
type AlterTableType uint
func (*AlterTableType) Pos ¶
func (n *AlterTableType) Pos() int
type AlterUserMappingStmt ¶
func (*AlterUserMappingStmt) Pos ¶
func (n *AlterUserMappingStmt) Pos() int
type AlternativeSubPlan ¶
func (*AlternativeSubPlan) Pos ¶
func (n *AlternativeSubPlan) Pos() int
type ArrayCoerceExpr ¶
type ArrayCoerceExpr struct { Xpr ast.Node Arg ast.Node Elemfuncid Oid Resulttype Oid Resulttypmod int32 Resultcollid Oid IsExplicit bool Coerceformat CoercionForm Location int }
func (*ArrayCoerceExpr) Pos ¶
func (n *ArrayCoerceExpr) Pos() int
type ArrayExpr ¶
type ArrayRef ¶
type BlockIdData ¶
func (*BlockIdData) Pos ¶
func (n *BlockIdData) Pos() int
type BlockNumber ¶
type BlockNumber uint32
func (*BlockNumber) Pos ¶
func (n *BlockNumber) Pos() int
type BoolExprType ¶
type BoolExprType uint
func (*BoolExprType) Pos ¶
func (n *BoolExprType) Pos() int
type BoolTestType ¶
type BoolTestType uint
func (*BoolTestType) Pos ¶
func (n *BoolTestType) Pos() int
type BooleanTest ¶
func (*BooleanTest) Pos ¶
func (n *BooleanTest) Pos() int
type CaseExpr ¶
type CaseTestExpr ¶
func (*CaseTestExpr) Pos ¶
func (n *CaseTestExpr) Pos() int
type CheckPointStmt ¶
type CheckPointStmt struct { }
func (*CheckPointStmt) Pos ¶
func (n *CheckPointStmt) Pos() int
type ClosePortalStmt ¶
type ClosePortalStmt struct {
Portalname *string
}
func (*ClosePortalStmt) Pos ¶
func (n *ClosePortalStmt) Pos() int
type ClusterStmt ¶
func (*ClusterStmt) Pos ¶
func (n *ClusterStmt) Pos() int
type CoalesceExpr ¶
type CoalesceExpr struct { Xpr ast.Node Coalescetype Oid Coalescecollid Oid Args *ast.List Location int }
func (*CoalesceExpr) Pos ¶
func (n *CoalesceExpr) Pos() int
type CoerceToDomain ¶
type CoerceToDomain struct { Xpr ast.Node Arg ast.Node Resulttype Oid Resulttypmod int32 Resultcollid Oid Coercionformat CoercionForm Location int }
func (*CoerceToDomain) Pos ¶
func (n *CoerceToDomain) Pos() int
type CoerceToDomainValue ¶
type CoerceToDomainValue struct { Xpr ast.Node TypeId Oid TypeMod int32 Collation Oid Location int }
func (*CoerceToDomainValue) Pos ¶
func (n *CoerceToDomainValue) Pos() int
type CoerceViaIO ¶
type CoerceViaIO struct { Xpr ast.Node Arg ast.Node Resulttype Oid Resultcollid Oid Coerceformat CoercionForm Location int }
func (*CoerceViaIO) Pos ¶
func (n *CoerceViaIO) Pos() int
type CoercionContext ¶
type CoercionContext uint
func (*CoercionContext) Pos ¶
func (n *CoercionContext) Pos() int
type CoercionForm ¶
type CoercionForm uint
func (*CoercionForm) Pos ¶
func (n *CoercionForm) Pos() int
type CollateClause ¶
func (*CollateClause) Pos ¶
func (n *CollateClause) Pos() int
type CollateExpr ¶
func (*CollateExpr) Pos ¶
func (n *CollateExpr) Pos() int
type ColumnDef ¶
type CommentStmt ¶
type CommentStmt struct { Objtype ObjectType Object ast.Node Comment *string }
func (*CommentStmt) Pos ¶
func (n *CommentStmt) Pos() int
type CommonTableExpr ¶
type CommonTableExpr struct { Ctename *string Aliascolnames *ast.List Ctequery ast.Node Location int Cterecursive bool Cterefcount int Ctecolnames *ast.List Ctecoltypes *ast.List Ctecoltypmods *ast.List Ctecolcollations *ast.List }
func (*CommonTableExpr) Pos ¶
func (n *CommonTableExpr) Pos() int
type CompositeTypeStmt ¶
func (*CompositeTypeStmt) Pos ¶
func (n *CompositeTypeStmt) Pos() int
type Const ¶
type Constraint ¶
type Constraint struct { Contype ConstrType Conname *string Deferrable bool Initdeferred bool Location int IsNoInherit bool RawExpr ast.Node CookedExpr *string GeneratedWhen byte Keys *ast.List Exclusions *ast.List Options *ast.List Indexname *string Indexspace *string AccessMethod *string WhereClause ast.Node Pktable *RangeVar FkAttrs *ast.List PkAttrs *ast.List FkMatchtype byte FkUpdAction byte FkDelAction byte OldConpfeqop *ast.List OldPktableOid Oid SkipValidation bool InitiallyValid bool }
func (*Constraint) Pos ¶
func (n *Constraint) Pos() int
type ConstraintsSetStmt ¶
func (*ConstraintsSetStmt) Pos ¶
func (n *ConstraintsSetStmt) Pos() int
type ConvertRowtypeExpr ¶
type ConvertRowtypeExpr struct { Xpr ast.Node Arg ast.Node Resulttype Oid Convertformat CoercionForm Location int }
func (*ConvertRowtypeExpr) Pos ¶
func (n *ConvertRowtypeExpr) Pos() int
type CopyStmt ¶
type CreateAmStmt ¶
func (*CreateAmStmt) Pos ¶
func (n *CreateAmStmt) Pos() int
type CreateCastStmt ¶
type CreateCastStmt struct { Sourcetype *TypeName Targettype *TypeName Func *ObjectWithArgs Context CoercionContext Inout bool }
func (*CreateCastStmt) Pos ¶
func (n *CreateCastStmt) Pos() int
type CreateConversionStmt ¶
type CreateConversionStmt struct { ConversionName *ast.List ForEncodingName *string ToEncodingName *string FuncName *ast.List Def bool }
func (*CreateConversionStmt) Pos ¶
func (n *CreateConversionStmt) Pos() int
type CreateDomainStmt ¶
type CreateDomainStmt struct { Domainname *ast.List TypeName *TypeName CollClause *CollateClause Constraints *ast.List }
func (*CreateDomainStmt) Pos ¶
func (n *CreateDomainStmt) Pos() int
type CreateEnumStmt ¶
func (*CreateEnumStmt) Pos ¶
func (n *CreateEnumStmt) Pos() int
type CreateEventTrigStmt ¶
type CreateEventTrigStmt struct { Trigname *string Eventname *string Whenclause *ast.List Funcname *ast.List }
func (*CreateEventTrigStmt) Pos ¶
func (n *CreateEventTrigStmt) Pos() int
type CreateExtensionStmt ¶
func (*CreateExtensionStmt) Pos ¶
func (n *CreateExtensionStmt) Pos() int
type CreateFdwStmt ¶
func (*CreateFdwStmt) Pos ¶
func (n *CreateFdwStmt) Pos() int
type CreateForeignServerStmt ¶
type CreateForeignServerStmt struct { Servername *string Servertype *string Version *string Fdwname *string IfNotExists bool Options *ast.List }
func (*CreateForeignServerStmt) Pos ¶
func (n *CreateForeignServerStmt) Pos() int
type CreateForeignTableStmt ¶
type CreateForeignTableStmt struct { Base *CreateStmt Servername *string Options *ast.List }
func (*CreateForeignTableStmt) Pos ¶
func (n *CreateForeignTableStmt) Pos() int
type CreateFunctionStmt ¶
type CreateFunctionStmt struct { Replace bool Funcname *ast.List Parameters *ast.List ReturnType *TypeName Options *ast.List WithClause *ast.List }
func (*CreateFunctionStmt) Pos ¶
func (n *CreateFunctionStmt) Pos() int
type CreateOpClassItem ¶
type CreateOpClassItem struct { Itemtype int Name *ObjectWithArgs Number int OrderFamily *ast.List ClassArgs *ast.List Storedtype *TypeName }
func (*CreateOpClassItem) Pos ¶
func (n *CreateOpClassItem) Pos() int
type CreateOpClassStmt ¶
type CreateOpClassStmt struct { Opclassname *ast.List Opfamilyname *ast.List Amname *string Datatype *TypeName Items *ast.List IsDefault bool }
func (*CreateOpClassStmt) Pos ¶
func (n *CreateOpClassStmt) Pos() int
type CreateOpFamilyStmt ¶
func (*CreateOpFamilyStmt) Pos ¶
func (n *CreateOpFamilyStmt) Pos() int
type CreatePLangStmt ¶
type CreatePLangStmt struct { Replace bool Plname *string Plhandler *ast.List Plinline *ast.List Plvalidator *ast.List Pltrusted bool }
func (*CreatePLangStmt) Pos ¶
func (n *CreatePLangStmt) Pos() int
type CreatePolicyStmt ¶
type CreatePolicyStmt struct { PolicyName *string Table *RangeVar CmdName *string Permissive bool Roles *ast.List Qual ast.Node WithCheck ast.Node }
func (*CreatePolicyStmt) Pos ¶
func (n *CreatePolicyStmt) Pos() int
type CreatePublicationStmt ¶
type CreatePublicationStmt struct { Pubname *string Options *ast.List Tables *ast.List ForAllTables bool }
func (*CreatePublicationStmt) Pos ¶
func (n *CreatePublicationStmt) Pos() int
type CreateRangeStmt ¶
func (*CreateRangeStmt) Pos ¶
func (n *CreateRangeStmt) Pos() int
type CreateRoleStmt ¶
type CreateRoleStmt struct { StmtType RoleStmtType Role *string Options *ast.List }
func (*CreateRoleStmt) Pos ¶
func (n *CreateRoleStmt) Pos() int
type CreateSchemaStmt ¶
type CreateSchemaStmt struct { Schemaname *string Authrole *RoleSpec SchemaElts *ast.List IfNotExists bool }
func (*CreateSchemaStmt) Pos ¶
func (n *CreateSchemaStmt) Pos() int
type CreateSeqStmt ¶
type CreateSeqStmt struct { Sequence *RangeVar Options *ast.List OwnerId Oid ForIdentity bool IfNotExists bool }
func (*CreateSeqStmt) Pos ¶
func (n *CreateSeqStmt) Pos() int
type CreateStatsStmt ¶
type CreateStatsStmt struct { Defnames *ast.List StatTypes *ast.List Exprs *ast.List Relations *ast.List IfNotExists bool }
func (*CreateStatsStmt) Pos ¶
func (n *CreateStatsStmt) Pos() int
type CreateStmt ¶
type CreateStmt struct { Relation *RangeVar TableElts *ast.List InhRelations *ast.List Partbound *PartitionBoundSpec Partspec *PartitionSpec OfTypename *TypeName Constraints *ast.List Options *ast.List Oncommit OnCommitAction Tablespacename *string IfNotExists bool }
func (*CreateStmt) Pos ¶
func (n *CreateStmt) Pos() int
type CreateSubscriptionStmt ¶
type CreateSubscriptionStmt struct { Subname *string Conninfo *string Publication *ast.List Options *ast.List }
func (*CreateSubscriptionStmt) Pos ¶
func (n *CreateSubscriptionStmt) Pos() int
type CreateTableAsStmt ¶
type CreateTableAsStmt struct { Query ast.Node Into *IntoClause Relkind ObjectType IsSelectInto bool IfNotExists bool }
func (*CreateTableAsStmt) Pos ¶
func (n *CreateTableAsStmt) Pos() int
type CreateTableSpaceStmt ¶
type CreateTableSpaceStmt struct { Tablespacename *string Owner *RoleSpec Location *string Options *ast.List }
func (*CreateTableSpaceStmt) Pos ¶
func (n *CreateTableSpaceStmt) Pos() int
type CreateTransformStmt ¶
type CreateTransformStmt struct { Replace bool TypeName *TypeName Lang *string Fromsql *ObjectWithArgs Tosql *ObjectWithArgs }
func (*CreateTransformStmt) Pos ¶
func (n *CreateTransformStmt) Pos() int
type CreateTrigStmt ¶
type CreateTrigStmt struct { Trigname *string Relation *RangeVar Funcname *ast.List Args *ast.List Row bool Timing int16 Events int16 Columns *ast.List WhenClause ast.Node Isconstraint bool TransitionRels *ast.List Deferrable bool Initdeferred bool Constrrel *RangeVar }
func (*CreateTrigStmt) Pos ¶
func (n *CreateTrigStmt) Pos() int
type CreateUserMappingStmt ¶
type CreateUserMappingStmt struct { User *RoleSpec Servername *string IfNotExists bool Options *ast.List }
func (*CreateUserMappingStmt) Pos ¶
func (n *CreateUserMappingStmt) Pos() int
type CreatedbStmt ¶
func (*CreatedbStmt) Pos ¶
func (n *CreatedbStmt) Pos() int
type CurrentOfExpr ¶
func (*CurrentOfExpr) Pos ¶
func (n *CurrentOfExpr) Pos() int
type DeallocateStmt ¶
type DeallocateStmt struct {
Name *string
}
func (*DeallocateStmt) Pos ¶
func (n *DeallocateStmt) Pos() int
type DeclareCursorStmt ¶
func (*DeclareCursorStmt) Pos ¶
func (n *DeclareCursorStmt) Pos() int
type DefElem ¶
type DefElemAction ¶
type DefElemAction uint
func (*DefElemAction) Pos ¶
func (n *DefElemAction) Pos() int
type DefineStmt ¶
type DefineStmt struct { Kind ObjectType Oldstyle bool Defnames *ast.List Args *ast.List Definition *ast.List IfNotExists bool }
func (*DefineStmt) Pos ¶
func (n *DefineStmt) Pos() int
type DeleteStmt ¶
type DeleteStmt struct { Relation *RangeVar UsingClause *ast.List WhereClause ast.Node ReturningList *ast.List WithClause *WithClause }
func (*DeleteStmt) Pos ¶
func (n *DeleteStmt) Pos() int
type DiscardMode ¶
type DiscardMode uint
func (*DiscardMode) Pos ¶
func (n *DiscardMode) Pos() int
type DiscardStmt ¶
type DiscardStmt struct {
Target DiscardMode
}
func (*DiscardStmt) Pos ¶
func (n *DiscardStmt) Pos() int
type DistinctExpr ¶
type DistinctExpr OpExpr
func (*DistinctExpr) Pos ¶
func (n *DistinctExpr) Pos() int
type DropBehavior ¶
type DropBehavior uint
func (*DropBehavior) Pos ¶
func (n *DropBehavior) Pos() int
type DropOwnedStmt ¶
type DropOwnedStmt struct { Roles *ast.List Behavior DropBehavior }
func (*DropOwnedStmt) Pos ¶
func (n *DropOwnedStmt) Pos() int
type DropRoleStmt ¶
func (*DropRoleStmt) Pos ¶
func (n *DropRoleStmt) Pos() int
type DropStmt ¶
type DropStmt struct { Objects *ast.List RemoveType ObjectType Behavior DropBehavior MissingOk bool Concurrent bool }
type DropSubscriptionStmt ¶
type DropSubscriptionStmt struct { Subname *string MissingOk bool Behavior DropBehavior }
func (*DropSubscriptionStmt) Pos ¶
func (n *DropSubscriptionStmt) Pos() int
type DropTableSpaceStmt ¶
func (*DropTableSpaceStmt) Pos ¶
func (n *DropTableSpaceStmt) Pos() int
type DropUserMappingStmt ¶
func (*DropUserMappingStmt) Pos ¶
func (n *DropUserMappingStmt) Pos() int
type DropdbStmt ¶
func (*DropdbStmt) Pos ¶
func (n *DropdbStmt) Pos() int
type ExecuteStmt ¶
func (*ExecuteStmt) Pos ¶
func (n *ExecuteStmt) Pos() int
type ExplainStmt ¶
func (*ExplainStmt) Pos ¶
func (n *ExplainStmt) Pos() int
type FetchDirection ¶
type FetchDirection uint
func (*FetchDirection) Pos ¶
func (n *FetchDirection) Pos() int
type FetchStmt ¶
type FetchStmt struct { Direction FetchDirection HowMany int64 Portalname *string Ismove bool }
type FieldSelect ¶
type FieldSelect struct { Xpr ast.Node Arg ast.Node Fieldnum AttrNumber Resulttype Oid Resulttypmod int32 Resultcollid Oid }
func (*FieldSelect) Pos ¶
func (n *FieldSelect) Pos() int
type FieldStore ¶
type FieldStore struct { Xpr ast.Node Arg ast.Node Newvals *ast.List Fieldnums *ast.List Resulttype Oid }
func (*FieldStore) Pos ¶
func (n *FieldStore) Pos() int
type FuncExpr ¶
type FunctionParameter ¶
type FunctionParameter struct { Name *string ArgType *TypeName Mode FunctionParameterMode Defexpr ast.Node }
func (*FunctionParameter) Pos ¶
func (n *FunctionParameter) Pos() int
type FunctionParameterMode ¶
type FunctionParameterMode uint
func (*FunctionParameterMode) Pos ¶
func (n *FunctionParameterMode) Pos() int
type GrantObjectType ¶
type GrantObjectType uint
func (*GrantObjectType) Pos ¶
func (n *GrantObjectType) Pos() int
type GrantRoleStmt ¶
type GrantRoleStmt struct { GrantedRoles *ast.List GranteeRoles *ast.List IsGrant bool AdminOpt bool Grantor *RoleSpec Behavior DropBehavior }
func (*GrantRoleStmt) Pos ¶
func (n *GrantRoleStmt) Pos() int
type GrantStmt ¶
type GrantStmt struct { IsGrant bool Targtype GrantTargetType Objtype GrantObjectType Objects *ast.List Privileges *ast.List Grantees *ast.List GrantOption bool Behavior DropBehavior }
type GrantTargetType ¶
type GrantTargetType uint
func (*GrantTargetType) Pos ¶
func (n *GrantTargetType) Pos() int
type GroupingFunc ¶
type GroupingFunc struct { Xpr ast.Node Args *ast.List Refs *ast.List Cols *ast.List Agglevelsup Index Location int }
func (*GroupingFunc) Pos ¶
func (n *GroupingFunc) Pos() int
type GroupingSet ¶
type GroupingSet struct { Kind GroupingSetKind Content *ast.List Location int }
func (*GroupingSet) Pos ¶
func (n *GroupingSet) Pos() int
type GroupingSetKind ¶
type GroupingSetKind uint
func (*GroupingSetKind) Pos ¶
func (n *GroupingSetKind) Pos() int
type ImportForeignSchemaStmt ¶
type ImportForeignSchemaStmt struct { ServerName *string RemoteSchema *string LocalSchema *string ListType ImportForeignSchemaType TableList *ast.List Options *ast.List }
func (*ImportForeignSchemaStmt) Pos ¶
func (n *ImportForeignSchemaStmt) Pos() int
type ImportForeignSchemaType ¶
type ImportForeignSchemaType uint
func (*ImportForeignSchemaType) Pos ¶
func (n *ImportForeignSchemaType) Pos() int
type IndexElem ¶
type IndexStmt ¶
type IndexStmt struct { Idxname *string Relation *RangeVar AccessMethod *string TableSpace *string IndexParams *ast.List Options *ast.List WhereClause ast.Node ExcludeOpNames *ast.List Idxcomment *string IndexOid Oid OldNode Oid Unique bool Primary bool Isconstraint bool Deferrable bool Initdeferred bool Transformed bool Concurrent bool IfNotExists bool }
type InferClause ¶
func (*InferClause) Pos ¶
func (n *InferClause) Pos() int
type InferenceElem ¶
func (*InferenceElem) Pos ¶
func (n *InferenceElem) Pos() int
type InlineCodeBlock ¶
func (*InlineCodeBlock) Pos ¶
func (n *InlineCodeBlock) Pos() int
type InsertStmt ¶
type InsertStmt struct { Relation *RangeVar Cols *ast.List SelectStmt ast.Node OnConflictClause *OnConflictClause ReturningList *ast.List WithClause *WithClause Override OverridingKind }
func (*InsertStmt) Pos ¶
func (n *InsertStmt) Pos() int
type IntoClause ¶
type IntoClause struct { Rel *RangeVar ColNames *ast.List Options *ast.List OnCommit OnCommitAction TableSpaceName *string ViewQuery ast.Node SkipData bool }
func (*IntoClause) Pos ¶
func (n *IntoClause) Pos() int
type JoinExpr ¶
type ListenStmt ¶
type ListenStmt struct {
Conditionname *string
}
func (*ListenStmt) Pos ¶
func (n *ListenStmt) Pos() int
type LocalTransactionId ¶
type LocalTransactionId uint32
func (*LocalTransactionId) Pos ¶
func (n *LocalTransactionId) Pos() int
type LockClauseStrength ¶
type LockClauseStrength uint
func (*LockClauseStrength) Pos ¶
func (n *LockClauseStrength) Pos() int
type LockWaitPolicy ¶
type LockWaitPolicy uint
func (*LockWaitPolicy) Pos ¶
func (n *LockWaitPolicy) Pos() int
type LockingClause ¶
type LockingClause struct { LockedRels *ast.List Strength LockClauseStrength WaitPolicy LockWaitPolicy }
func (*LockingClause) Pos ¶
func (n *LockingClause) Pos() int
type MinMaxExpr ¶
type MinMaxExpr struct { Xpr ast.Node Minmaxtype Oid Minmaxcollid Oid Inputcollid Oid Op MinMaxOp Args *ast.List Location int }
func (*MinMaxExpr) Pos ¶
func (n *MinMaxExpr) Pos() int
type MultiAssignRef ¶
func (*MultiAssignRef) Pos ¶
func (n *MultiAssignRef) Pos() int
type MultiXactId ¶
type MultiXactId TransactionId
func (*MultiXactId) Pos ¶
func (n *MultiXactId) Pos() int
type MultiXactOffset ¶
type MultiXactOffset uint32
func (*MultiXactOffset) Pos ¶
func (n *MultiXactOffset) Pos() int
type NamedArgExpr ¶
func (*NamedArgExpr) Pos ¶
func (n *NamedArgExpr) Pos() int
type NextValueExpr ¶
func (*NextValueExpr) Pos ¶
func (n *NextValueExpr) Pos() int
type NotifyStmt ¶
func (*NotifyStmt) Pos ¶
func (n *NotifyStmt) Pos() int
type NullTest ¶
type NullTestType ¶
type NullTestType uint
func (*NullTestType) Pos ¶
func (n *NullTestType) Pos() int
type ObjectWithArgs ¶
func (*ObjectWithArgs) Pos ¶
func (n *ObjectWithArgs) Pos() int
type OnCommitAction ¶
type OnCommitAction uint
func (*OnCommitAction) Pos ¶
func (n *OnCommitAction) Pos() int
type OnConflictAction ¶
type OnConflictAction uint
func (*OnConflictAction) Pos ¶
func (n *OnConflictAction) Pos() int
type OnConflictClause ¶
type OnConflictClause struct { Action OnConflictAction Infer *InferClause TargetList *ast.List WhereClause ast.Node Location int }
func (*OnConflictClause) Pos ¶
func (n *OnConflictClause) Pos() int
type OnConflictExpr ¶
type OnConflictExpr struct { Action OnConflictAction ArbiterElems *ast.List ArbiterWhere ast.Node Constraint Oid OnConflictSet *ast.List OnConflictWhere ast.Node ExclRelIndex int ExclRelTlist *ast.List }
func (*OnConflictExpr) Pos ¶
func (n *OnConflictExpr) Pos() int
type OpExpr ¶
type OverridingKind ¶
type OverridingKind uint
func (*OverridingKind) Pos ¶
func (n *OverridingKind) Pos() int
type Param ¶
type ParamExecData ¶
func (*ParamExecData) Pos ¶
func (n *ParamExecData) Pos() int
type ParamExternData ¶
func (*ParamExternData) Pos ¶
func (n *ParamExternData) Pos() int
type ParamListInfo ¶
type ParamListInfo ParamListInfoData
func (*ParamListInfo) Pos ¶
func (n *ParamListInfo) Pos() int
type ParamListInfoData ¶
type ParamListInfoData struct { ParamFetchArg interface{} ParserSetupArg interface{} NumParams int ParamMask []uint32 }
func (*ParamListInfoData) Pos ¶
func (n *ParamListInfoData) Pos() int
type PartitionBoundSpec ¶
type PartitionBoundSpec struct { Strategy byte Listdatums *ast.List Lowerdatums *ast.List Upperdatums *ast.List Location int }
func (*PartitionBoundSpec) Pos ¶
func (n *PartitionBoundSpec) Pos() int
type PartitionCmd ¶
type PartitionCmd struct { Name *RangeVar Bound *PartitionBoundSpec }
func (*PartitionCmd) Pos ¶
func (n *PartitionCmd) Pos() int
type PartitionElem ¶
type PartitionElem struct { Name *string Expr ast.Node Collation *ast.List Opclass *ast.List Location int }
func (*PartitionElem) Pos ¶
func (n *PartitionElem) Pos() int
type PartitionRangeDatum ¶
type PartitionRangeDatum struct { Kind PartitionRangeDatumKind Value ast.Node Location int }
func (*PartitionRangeDatum) Pos ¶
func (n *PartitionRangeDatum) Pos() int
type PartitionRangeDatumKind ¶
type PartitionRangeDatumKind uint
func (*PartitionRangeDatumKind) Pos ¶
func (n *PartitionRangeDatumKind) Pos() int
type PartitionSpec ¶
func (*PartitionSpec) Pos ¶
func (n *PartitionSpec) Pos() int
type PrepareStmt ¶
func (*PrepareStmt) Pos ¶
func (n *PrepareStmt) Pos() int
type Query ¶
type Query struct { CommandType CmdType QuerySource QuerySource QueryId uint32 CanSetTag bool UtilityStmt ast.Node ResultRelation int HasAggs bool HasWindowFuncs bool HasTargetSrfs bool HasSubLinks bool HasDistinctOn bool HasRecursive bool HasModifyingCte bool HasForUpdate bool HasRowSecurity bool CteList *ast.List Rtable *ast.List Jointree *FromExpr TargetList *ast.List Override OverridingKind OnConflict *OnConflictExpr ReturningList *ast.List GroupClause *ast.List GroupingSets *ast.List HavingQual ast.Node WindowClause *ast.List DistinctClause *ast.List SortClause *ast.List LimitOffset ast.Node LimitCount ast.Node RowMarks *ast.List SetOperations ast.Node ConstraintDeps *ast.List WithCheckOptions *ast.List StmtLocation int StmtLen int }
type QuerySource ¶
type QuerySource uint
func (*QuerySource) Pos ¶
func (n *QuerySource) Pos() int
type RangeFunction ¶
type RangeFunction struct { Lateral bool Ordinality bool IsRowsfrom bool Functions *ast.List Alias *Alias Coldeflist *ast.List }
func (*RangeFunction) Pos ¶
func (n *RangeFunction) Pos() int
type RangeSubselect ¶
func (*RangeSubselect) Pos ¶
func (n *RangeSubselect) Pos() int
type RangeTableFunc ¶
type RangeTableFunc struct { Lateral bool Docexpr ast.Node Rowexpr ast.Node Namespaces *ast.List Columns *ast.List Alias *Alias Location int }
func (*RangeTableFunc) Pos ¶
func (n *RangeTableFunc) Pos() int
type RangeTableFuncCol ¶
type RangeTableFuncCol struct { Colname *string TypeName *TypeName ForOrdinality bool IsNotNull bool Colexpr ast.Node Coldefexpr ast.Node Location int }
func (*RangeTableFuncCol) Pos ¶
func (n *RangeTableFuncCol) Pos() int
type RangeTableSample ¶
type RangeTableSample struct { Relation ast.Node Method *ast.List Args *ast.List Repeatable ast.Node Location int }
func (*RangeTableSample) Pos ¶
func (n *RangeTableSample) Pos() int
type RangeTblEntry ¶
type RangeTblEntry struct { Rtekind RTEKind Relid Oid Relkind byte Tablesample *TableSampleClause Subquery *Query SecurityBarrier bool Jointype JoinType Joinaliasvars *ast.List Functions *ast.List Funcordinality bool Tablefunc *TableFunc ValuesLists *ast.List Ctename *string Ctelevelsup Index SelfReference bool Coltypes *ast.List Coltypmods *ast.List Colcollations *ast.List Enrname *string Enrtuples float64 Alias *Alias Eref *Alias Lateral bool Inh bool InFromCl bool RequiredPerms AclMode CheckAsUser Oid SelectedCols []uint32 InsertedCols []uint32 UpdatedCols []uint32 SecurityQuals *ast.List }
func (*RangeTblEntry) Pos ¶
func (n *RangeTblEntry) Pos() int
type RangeTblFunction ¶
type RangeTblFunction struct { Funcexpr ast.Node Funccolcount int Funccolnames *ast.List Funccoltypes *ast.List Funccoltypmods *ast.List Funccolcollations *ast.List Funcparams []uint32 }
func (*RangeTblFunction) Pos ¶
func (n *RangeTblFunction) Pos() int
type RangeTblRef ¶
type RangeTblRef struct {
Rtindex int
}
func (*RangeTblRef) Pos ¶
func (n *RangeTblRef) Pos() int
type RangeVar ¶
type ReassignOwnedStmt ¶
func (*ReassignOwnedStmt) Pos ¶
func (n *ReassignOwnedStmt) Pos() int
type RefreshMatViewStmt ¶
func (*RefreshMatViewStmt) Pos ¶
func (n *RefreshMatViewStmt) Pos() int
type RegProcedure ¶
type RegProcedure regproc
func (*RegProcedure) Pos ¶
func (n *RegProcedure) Pos() int
type ReindexObjectType ¶
type ReindexObjectType uint
func (*ReindexObjectType) Pos ¶
func (n *ReindexObjectType) Pos() int
type ReindexStmt ¶
type ReindexStmt struct { Kind ReindexObjectType Relation *RangeVar Name *string Options int }
func (*ReindexStmt) Pos ¶
func (n *ReindexStmt) Pos() int
type RelabelType ¶
type RelabelType struct { Xpr ast.Node Arg ast.Node Resulttype Oid Resulttypmod int32 Resultcollid Oid Relabelformat CoercionForm Location int }
func (*RelabelType) Pos ¶
func (n *RelabelType) Pos() int
type RenameStmt ¶
type RenameStmt struct { RenameType ObjectType RelationType ObjectType Relation *RangeVar Object ast.Node Subname *string Newname *string Behavior DropBehavior MissingOk bool }
func (*RenameStmt) Pos ¶
func (n *RenameStmt) Pos() int
type ReplicaIdentityStmt ¶
func (*ReplicaIdentityStmt) Pos ¶
func (n *ReplicaIdentityStmt) Pos() int
type RoleSpec ¶
type RoleSpec struct { Roletype RoleSpecType Rolename *string Location int }
type RoleSpecType ¶
type RoleSpecType uint
func (*RoleSpecType) Pos ¶
func (n *RoleSpecType) Pos() int
type RoleStmtType ¶
type RoleStmtType uint
func (*RoleStmtType) Pos ¶
func (n *RoleStmtType) Pos() int
type RowCompareExpr ¶
type RowCompareExpr struct { Xpr ast.Node Rctype RowCompareType Opnos *ast.List Opfamilies *ast.List Inputcollids *ast.List Largs *ast.List Rargs *ast.List }
func (*RowCompareExpr) Pos ¶
func (n *RowCompareExpr) Pos() int
type RowCompareType ¶
type RowCompareType uint
func (*RowCompareType) Pos ¶
func (n *RowCompareType) Pos() int
type RowExpr ¶
type RowMarkClause ¶
type RowMarkClause struct { Rti Index Strength LockClauseStrength WaitPolicy LockWaitPolicy PushedDown bool }
func (*RowMarkClause) Pos ¶
func (n *RowMarkClause) Pos() int
type RuleStmt ¶
type SQLValueFunction ¶
type SQLValueFunction struct { Xpr ast.Node Op SQLValueFunctionOp Type Oid Typmod int32 Location int }
func (*SQLValueFunction) Pos ¶
func (n *SQLValueFunction) Pos() int
type SQLValueFunctionOp ¶
type SQLValueFunctionOp uint
func (*SQLValueFunctionOp) Pos ¶
func (n *SQLValueFunctionOp) Pos() int
type ScalarArrayOpExpr ¶
type ScalarArrayOpExpr struct { Xpr ast.Node Opno Oid Opfuncid Oid UseOr bool Inputcollid Oid Args *ast.List Location int }
func (*ScalarArrayOpExpr) Pos ¶
func (n *ScalarArrayOpExpr) Pos() int
type ScanDirection ¶
type ScanDirection uint
func (*ScanDirection) Pos ¶
func (n *ScanDirection) Pos() int
type SecLabelStmt ¶
type SecLabelStmt struct { Objtype ObjectType Object ast.Node Provider *string Label *string }
func (*SecLabelStmt) Pos ¶
func (n *SecLabelStmt) Pos() int
type SelectStmt ¶
type SelectStmt struct { DistinctClause *ast.List IntoClause *IntoClause TargetList *ast.List FromClause *ast.List WhereClause ast.Node GroupClause *ast.List HavingClause ast.Node WindowClause *ast.List ValuesLists *ast.List SortClause *ast.List LimitOffset ast.Node LimitCount ast.Node LockingClause *ast.List WithClause *WithClause Op SetOperation All bool Larg *SelectStmt Rarg *SelectStmt }
func (*SelectStmt) Pos ¶
func (n *SelectStmt) Pos() int
type Selectivity ¶
type Selectivity float64
func (*Selectivity) Pos ¶
func (n *Selectivity) Pos() int
type SetOpStrategy ¶
type SetOpStrategy uint
func (*SetOpStrategy) Pos ¶
func (n *SetOpStrategy) Pos() int
type SetOperation ¶
type SetOperation uint
func (*SetOperation) Pos ¶
func (n *SetOperation) Pos() int
type SetOperationStmt ¶
type SetOperationStmt struct { Op SetOperation All bool Larg ast.Node Rarg ast.Node ColTypes *ast.List ColTypmods *ast.List ColCollations *ast.List GroupClauses *ast.List }
func (*SetOperationStmt) Pos ¶
func (n *SetOperationStmt) Pos() int
type SetToDefault ¶
func (*SetToDefault) Pos ¶
func (n *SetToDefault) Pos() int
type SortBy ¶
type SortByNulls ¶
type SortByNulls uint
func (*SortByNulls) Pos ¶
func (n *SortByNulls) Pos() int
type SortGroupClause ¶
type SortGroupClause struct { TleSortGroupRef Index Eqop Oid Sortop Oid NullsFirst bool Hashable bool }
func (*SortGroupClause) Pos ¶
func (n *SortGroupClause) Pos() int
type SubLink ¶
type SubLinkType ¶
type SubLinkType uint
const ( EXISTS_SUBLINK SubLinkType = iota ALL_SUBLINK ANY_SUBLINK ROWCOMPARE_SUBLINK EXPR_SUBLINK MULTIEXPR_SUBLINK ARRAY_SUBLINK CTE_SUBLINK /* for SubPlans only */ )
type SubPlan ¶
type SubPlan struct { Xpr ast.Node SubLinkType SubLinkType Testexpr ast.Node ParamIds *ast.List PlanId int PlanName *string FirstColType Oid FirstColTypmod int32 FirstColCollation Oid UseHashTable bool UnknownEqFalse bool ParallelSafe bool SetParam *ast.List ParParam *ast.List Args *ast.List StartupCost Cost PerCallCost Cost }
type SubTransactionId ¶
type SubTransactionId uint32
func (*SubTransactionId) Pos ¶
func (n *SubTransactionId) Pos() int
type TableFunc ¶
type TableLikeClause ¶
func (*TableLikeClause) Pos ¶
func (n *TableLikeClause) Pos() int
type TableLikeOption ¶
type TableLikeOption uint
func (*TableLikeOption) Pos ¶
func (n *TableLikeOption) Pos() int
type TableSampleClause ¶
func (*TableSampleClause) Pos ¶
func (n *TableSampleClause) Pos() int
type TargetEntry ¶
type TargetEntry struct { Xpr ast.Node Expr ast.Node Resno AttrNumber Resname *string Ressortgroupref Index Resorigtbl Oid Resorigcol AttrNumber Resjunk bool }
func (*TargetEntry) Pos ¶
func (n *TargetEntry) Pos() int
type TransactionId ¶
type TransactionId uint32
func (*TransactionId) Pos ¶
func (n *TransactionId) Pos() int
type TransactionStmt ¶
type TransactionStmt struct { Kind TransactionStmtKind Options *ast.List Gid *string }
func (*TransactionStmt) Pos ¶
func (n *TransactionStmt) Pos() int
type TransactionStmtKind ¶
type TransactionStmtKind uint
func (*TransactionStmtKind) Pos ¶
func (n *TransactionStmtKind) Pos() int
type TriggerTransition ¶
func (*TriggerTransition) Pos ¶
func (n *TriggerTransition) Pos() int
type TruncateStmt ¶
type TruncateStmt struct { Relations *ast.List RestartSeqs bool Behavior DropBehavior }
func (*TruncateStmt) Pos ¶
func (n *TruncateStmt) Pos() int
type TypeName ¶
type UnlistenStmt ¶
type UnlistenStmt struct {
Conditionname *string
}
func (*UnlistenStmt) Pos ¶
func (n *UnlistenStmt) Pos() int
type UpdateStmt ¶
type UpdateStmt struct { Relation *RangeVar TargetList *ast.List WhereClause ast.Node FromClause *ast.List ReturningList *ast.List WithClause *WithClause }
func (*UpdateStmt) Pos ¶
func (n *UpdateStmt) Pos() int
type VacuumOption ¶
type VacuumOption uint
func (*VacuumOption) Pos ¶
func (n *VacuumOption) Pos() int
type VacuumStmt ¶
func (*VacuumStmt) Pos ¶
func (n *VacuumStmt) Pos() int
type Var ¶
type VariableSetKind ¶
type VariableSetKind uint
func (*VariableSetKind) Pos ¶
func (n *VariableSetKind) Pos() int
type VariableSetStmt ¶
type VariableSetStmt struct { Kind VariableSetKind Name *string Args *ast.List IsLocal bool }
func (*VariableSetStmt) Pos ¶
func (n *VariableSetStmt) Pos() int
type VariableShowStmt ¶
type VariableShowStmt struct {
Name *string
}
func (*VariableShowStmt) Pos ¶
func (n *VariableShowStmt) Pos() int
type ViewCheckOption ¶
type ViewCheckOption uint
func (*ViewCheckOption) Pos ¶
func (n *ViewCheckOption) Pos() int
type ViewStmt ¶
type WindowClause ¶
type WindowClause struct { Name *string Refname *string PartitionClause *ast.List OrderClause *ast.List FrameOptions int StartOffset ast.Node EndOffset ast.Node Winref Index CopiedOrder bool }
func (*WindowClause) Pos ¶
func (n *WindowClause) Pos() int
type WindowFunc ¶
type WindowFunc struct { Xpr ast.Node Winfnoid Oid Wintype Oid Wincollid Oid Inputcollid Oid Args *ast.List Aggfilter ast.Node Winref Index Winstar bool Winagg bool Location int }
func (*WindowFunc) Pos ¶
func (n *WindowFunc) Pos() int
type WithCheckOption ¶
type WithCheckOption struct { Kind WCOKind Relname *string Polname *string Qual ast.Node Cascaded bool }
func (*WithCheckOption) Pos ¶
func (n *WithCheckOption) Pos() int
type WithClause ¶
func (*WithClause) Pos ¶
func (n *WithClause) Pos() int
type XmlExpr ¶
type XmlOptionType ¶
type XmlOptionType uint
func (*XmlOptionType) Pos ¶
func (n *XmlOptionType) Pos() int
type XmlSerialize ¶
type XmlSerialize struct { Xmloption XmlOptionType Expr ast.Node TypeName *TypeName Location int }
func (*XmlSerialize) Pos ¶
func (n *XmlSerialize) Pos() int
Source Files
¶
- a_array_expr.go
- a_const.go
- a_expr.go
- a_expr_kind.go
- a_indices.go
- a_indirection.go
- a_star.go
- access_priv.go
- agg_split.go
- agg_strategy.go
- aggref.go
- alias.go
- alter_collation_stmt.go
- alter_database_set_stmt.go
- alter_database_stmt.go
- alter_default_privileges_stmt.go
- alter_domain_stmt.go
- alter_enum_stmt.go
- alter_event_trig_stmt.go
- alter_extension_contents_stmt.go
- alter_extension_stmt.go
- alter_fdw_stmt.go
- alter_foreign_server_stmt.go
- alter_function_stmt.go
- alter_object_depends_stmt.go
- alter_object_schema_stmt.go
- alter_op_family_stmt.go
- alter_operator_stmt.go
- alter_owner_stmt.go
- alter_policy_stmt.go
- alter_publication_stmt.go
- alter_role_set_stmt.go
- alter_role_stmt.go
- alter_seq_stmt.go
- alter_subscription_stmt.go
- alter_subscription_type.go
- alter_system_stmt.go
- alter_table_cmd.go
- alter_table_move_all_stmt.go
- alter_table_space_options_stmt.go
- alter_table_stmt.go
- alter_table_type.go
- alter_ts_config_type.go
- alter_ts_configuration_stmt.go
- alter_ts_dictionary_stmt.go
- alter_user_mapping_stmt.go
- alternative_sub_plan.go
- array_coerce_expr.go
- array_expr.go
- array_ref.go
- bit_string.go
- block_id_data.go
- bool_expr.go
- bool_expr_type.go
- bool_test_type.go
- boolean_test_expr.go
- case_expr.go
- case_test_expr.go
- case_when.go
- check_point_stmt.go
- close_portal_stmt.go
- cluster_stmt.go
- cmd_type.go
- coalesce_expr.go
- coerce_to_domain.go
- coerce_to_domain_value.go
- coerce_via_io.go
- coercion_context.go
- coercion_form.go
- collate_clause.go
- collate_expr.go
- column_def.go
- column_ref.go
- comment_stmt.go
- common_table_expr.go
- composite_type_stmt.go
- const.go
- constr_type.go
- constraint.go
- constraints_set_stmt.go
- convert_rowtype_expr.go
- copy_stmt.go
- create_am_stmt.go
- create_cast_stmt.go
- create_conversion_stmt.go
- create_domain_stmt.go
- create_enum_stmt.go
- create_event_trig_stmt.go
- create_extension_stmt.go
- create_fdw_stmt.go
- create_foreign_server_stmt.go
- create_foreign_table_stmt.go
- create_function_stmt.go
- create_op_class_item.go
- create_op_class_stmt.go
- create_op_family_stmt.go
- create_p_lang_stmt.go
- create_policy_stmt.go
- create_publication_stmt.go
- create_range_stmt.go
- create_role_stmt.go
- create_schema_stmt.go
- create_seq_stmt.go
- create_stats_stmt.go
- create_stmt.go
- create_subscription_stmt.go
- create_table_as_stmt.go
- create_table_space_stmt.go
- create_transform_stmt.go
- create_trig_stmt.go
- create_user_mapping_stmt.go
- createdb_stmt.go
- current_of_expr.go
- deallocate_stmt.go
- declare_cursor_stmt.go
- def_elem.go
- def_elem_action.go
- define_stmt.go
- delete_stmt.go
- discard_mode.go
- discard_stmt.go
- do_stmt.go
- drop_behavior.go
- drop_owned_stmt.go
- drop_role_stmt.go
- drop_stmt.go
- drop_subscription_stmt.go
- drop_table_space_stmt.go
- drop_user_mapping_stmt.go
- dropdb_stmt.go
- execute_stmt.go
- explain_stmt.go
- expr.go
- fetch_direction.go
- fetch_stmt.go
- field_select.go
- field_store.go
- float.go
- from_expr.go
- func_expr.go
- function_parameter.go
- function_parameter_mode.go
- grant_object_type.go
- grant_role_stmt.go
- grant_stmt.go
- grant_target_type.go
- grouping_func.go
- grouping_set.go
- grouping_set_kind.go
- import_foreign_schema_stmt.go
- import_foreign_schema_type.go
- index_elem.go
- index_stmt.go
- infer_clause.go
- inference_elem.go
- inline_code_block.go
- insert_stmt.go
- integer.go
- into_clause.go
- join_expr.go
- join_type.go
- listen_stmt.go
- load_stmt.go
- lock_clause_strength.go
- lock_stmt.go
- lock_wait_policy.go
- locking_clause.go
- min_max_expr.go
- min_max_op.go
- multi_assign_ref.go
- named_arg_expr.go
- next_value_expr.go
- notify_stmt.go
- null.go
- null_test_expr.go
- null_test_type.go
- object_type.go
- object_with_args.go
- on_commit_action.go
- on_conflict_action.go
- on_conflict_clause.go
- on_conflict_expr.go
- op_expr.go
- overriding_kind.go
- param.go
- param_exec_data.go
- param_extern_data.go
- param_kind.go
- param_list_info_data.go
- param_ref.go
- partition_bound_spec.go
- partition_cmd.go
- partition_elem.go
- partition_range_datum.go
- partition_range_datum_kind.go
- partition_spec.go
- prepare_stmt.go
- query.go
- query_source.go
- range_function.go
- range_subselect.go
- range_table_func.go
- range_table_func_col.go
- range_table_sample.go
- range_tbl_entry.go
- range_tbl_function.go
- range_tbl_ref.go
- range_var.go
- raw_stmt.go
- reassign_owned_stmt.go
- refresh_mat_view_stmt.go
- reindex_object_type.go
- reindex_stmt.go
- relabel_type.go
- rename_stmt.go
- replica_identity_stmt.go
- res_target.go
- role_spec.go
- role_spec_type.go
- role_stmt_type.go
- row_compare_expr.go
- row_compare_type.go
- row_expr.go
- row_mark_clause.go
- rte_kind.go
- rule_stmt.go
- scalar_array_op_expr.go
- scan_direction.go
- sec_label_stmt.go
- select_stmt.go
- set_op_cmd.go
- set_op_strategy.go
- set_operation.go
- set_operation_stmt.go
- set_to_default.go
- sort_by.go
- sort_by_dir.go
- sort_by_nulls.go
- sort_group_clause.go
- sql_value_function.go
- sql_value_function_op.go
- string.go
- sub_link.go
- sub_plan.go
- table_func.go
- table_like_clause.go
- table_like_option.go
- table_sample_clause.go
- target_entry.go
- transaction_stmt.go
- transaction_stmt_kind.go
- trigger_transition.go
- truncate_stmt.go
- type_cast.go
- type_name.go
- typedefs.go
- unlisten_stmt.go
- update_stmt.go
- vacuum_option.go
- vacuum_stmt.go
- var.go
- varatt_external.go
- variable_set_kind.go
- variable_set_stmt.go
- variable_show_stmt.go
- vartag_external.go
- view_check_option.go
- view_stmt.go
- wco_kind.go
- window_clause.go
- window_func.go
- with_check_option.go
- with_clause.go
- xml_expr.go
- xml_expr_op.go
- xml_option_type.go
- xml_serialize.go
Click to show internal directories.
Click to hide internal directories.