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 AlterTableSetSchemaStmt
- type AlterTableSpaceOptionsStmt
- type AlterTableStmt
- type AlterTableType
- type AlterTableType_PG
- type AlterTypeAddValueStmt
- type AlterTypeRenameValueStmt
- type AlterTypeSetSchemaStmt
- type AlterUserMappingStmt
- type AlternativeSubPlan
- type ArrayCoerceExpr
- type ArrayExpr
- type ArrayRef
- type AttrNumber
- type BetweenExpr
- type BitString
- type BlockId
- type BlockIdData
- type BlockNumber
- type BoolExpr
- type BoolExprType
- type BoolTestType
- type Boolean
- type BooleanTest
- type CallStmt
- 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 CommentOnColumnStmt
- type CommentOnSchemaStmt
- type CommentOnTableStmt
- type CommentOnTypeStmt
- type CommentOnViewStmt
- 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 CreateTableStmt
- 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 DropFunctionStmt
- type DropOwnedStmt
- type DropRoleStmt
- type DropSchemaStmt
- type DropStmt
- type DropSubscriptionStmt
- type DropTableSpaceStmt
- type DropTableStmt
- type DropTypeStmt
- type DropUserMappingStmt
- type DropdbStmt
- type ExecuteStmt
- type ExplainStmt
- type Expr
- type FetchDirection
- type FetchStmt
- type FieldSelect
- type FieldStore
- type Float
- type FromExpr
- type FuncCall
- type FuncExpr
- type FuncName
- type FuncParam
- type FuncParamMode
- type FuncSpec
- type FunctionParameter
- type FunctionParameterMode
- type GrantObjectType
- type GrantRoleStmt
- type GrantStmt
- type GrantTargetType
- type GroupingFunc
- type GroupingSet
- type GroupingSetKind
- type ImportForeignSchemaStmt
- type ImportForeignSchemaType
- type In
- type Index
- type IndexElem
- type IndexStmt
- type InferClause
- type InferenceElem
- type InlineCodeBlock
- type InsertStmt
- type Integer
- type IntoClause
- type JoinExpr
- type JoinType
- type List
- 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 Node
- 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 RenameColumnStmt
- type RenameStmt
- type RenameTableStmt
- type RenameTypeStmt
- 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 Statement
- type String
- type SubLink
- type SubLinkType
- type SubPlan
- type SubTransactionId
- type TODO
- type TableFunc
- type TableLikeClause
- type TableLikeOption
- type TableName
- 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 WindowDef
- 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 ¶ added in v1.6.0
func (*A_ArrayExpr) Pos ¶ added in v1.6.0
func (n *A_ArrayExpr) Pos() int
type A_Expr ¶ added in v1.6.0
type A_Expr struct {
Kind A_Expr_Kind
Name *List
Lexpr Node
Rexpr Node
Location int
}
type A_Expr_Kind ¶ added in v1.6.0
type A_Expr_Kind uint
func (*A_Expr_Kind) Pos ¶ added in v1.6.0
func (n *A_Expr_Kind) Pos() int
type A_Indirection ¶ added in v1.6.0
func (*A_Indirection) Pos ¶ added in v1.6.0
func (n *A_Indirection) Pos() int
type AccessPriv ¶ added in v1.6.0
func (*AccessPriv) Pos ¶ added in v1.6.0
func (n *AccessPriv) Pos() int
type AggStrategy ¶ added in v1.6.0
type AggStrategy uint
func (*AggStrategy) Pos ¶ added in v1.6.0
func (n *AggStrategy) Pos() int
type Aggref ¶ added in v1.6.0
type AlterCollationStmt ¶ added in v1.6.0
type AlterCollationStmt struct {
Collname *List
}
func (*AlterCollationStmt) Pos ¶ added in v1.6.0
func (n *AlterCollationStmt) Pos() int
type AlterDatabaseSetStmt ¶ added in v1.6.0
type AlterDatabaseSetStmt struct {
Dbname *string
Setstmt *VariableSetStmt
}
func (*AlterDatabaseSetStmt) Pos ¶ added in v1.6.0
func (n *AlterDatabaseSetStmt) Pos() int
type AlterDatabaseStmt ¶ added in v1.6.0
func (*AlterDatabaseStmt) Pos ¶ added in v1.6.0
func (n *AlterDatabaseStmt) Pos() int
type AlterDefaultPrivilegesStmt ¶ added in v1.6.0
func (*AlterDefaultPrivilegesStmt) Pos ¶ added in v1.6.0
func (n *AlterDefaultPrivilegesStmt) Pos() int
type AlterDomainStmt ¶ added in v1.6.0
type AlterDomainStmt struct {
Subtype byte
TypeName *List
Name *string
Def Node
Behavior DropBehavior
MissingOk bool
}
func (*AlterDomainStmt) Pos ¶ added in v1.6.0
func (n *AlterDomainStmt) Pos() int
type AlterEnumStmt ¶ added in v1.6.0
type AlterEnumStmt struct {
TypeName *List
OldVal *string
NewVal *string
NewValNeighbor *string
NewValIsAfter bool
SkipIfNewValExists bool
}
func (*AlterEnumStmt) Pos ¶ added in v1.6.0
func (n *AlterEnumStmt) Pos() int
type AlterEventTrigStmt ¶ added in v1.6.0
func (*AlterEventTrigStmt) Pos ¶ added in v1.6.0
func (n *AlterEventTrigStmt) Pos() int
type AlterExtensionContentsStmt ¶ added in v1.6.0
type AlterExtensionContentsStmt struct {
Extname *string
Action int
Objtype ObjectType
Object Node
}
func (*AlterExtensionContentsStmt) Pos ¶ added in v1.6.0
func (n *AlterExtensionContentsStmt) Pos() int
type AlterExtensionStmt ¶ added in v1.6.0
func (*AlterExtensionStmt) Pos ¶ added in v1.6.0
func (n *AlterExtensionStmt) Pos() int
type AlterFdwStmt ¶ added in v1.6.0
func (*AlterFdwStmt) Pos ¶ added in v1.6.0
func (n *AlterFdwStmt) Pos() int
type AlterForeignServerStmt ¶ added in v1.6.0
type AlterForeignServerStmt struct {
Servername *string
Version *string
Options *List
HasVersion bool
}
func (*AlterForeignServerStmt) Pos ¶ added in v1.6.0
func (n *AlterForeignServerStmt) Pos() int
type AlterFunctionStmt ¶ added in v1.6.0
type AlterFunctionStmt struct {
Func *ObjectWithArgs
Actions *List
}
func (*AlterFunctionStmt) Pos ¶ added in v1.6.0
func (n *AlterFunctionStmt) Pos() int
type AlterObjectDependsStmt ¶ added in v1.6.0
type AlterObjectDependsStmt struct {
ObjectType ObjectType
Relation *RangeVar
Object Node
Extname Node
}
func (*AlterObjectDependsStmt) Pos ¶ added in v1.6.0
func (n *AlterObjectDependsStmt) Pos() int
type AlterObjectSchemaStmt ¶ added in v1.6.0
type AlterObjectSchemaStmt struct {
ObjectType ObjectType
Relation *RangeVar
Object Node
Newschema *string
MissingOk bool
}
func (*AlterObjectSchemaStmt) Pos ¶ added in v1.6.0
func (n *AlterObjectSchemaStmt) Pos() int
type AlterOpFamilyStmt ¶ added in v1.6.0
func (*AlterOpFamilyStmt) Pos ¶ added in v1.6.0
func (n *AlterOpFamilyStmt) Pos() int
type AlterOperatorStmt ¶ added in v1.6.0
type AlterOperatorStmt struct {
Opername *ObjectWithArgs
Options *List
}
func (*AlterOperatorStmt) Pos ¶ added in v1.6.0
func (n *AlterOperatorStmt) Pos() int
type AlterOwnerStmt ¶ added in v1.6.0
type AlterOwnerStmt struct {
ObjectType ObjectType
Relation *RangeVar
Object Node
Newowner *RoleSpec
}
func (*AlterOwnerStmt) Pos ¶ added in v1.6.0
func (n *AlterOwnerStmt) Pos() int
type AlterPolicyStmt ¶ added in v1.6.0
type AlterPolicyStmt struct {
PolicyName *string
Table *RangeVar
Roles *List
Qual Node
WithCheck Node
}
func (*AlterPolicyStmt) Pos ¶ added in v1.6.0
func (n *AlterPolicyStmt) Pos() int
type AlterPublicationStmt ¶ added in v1.6.0
type AlterPublicationStmt struct {
Pubname *string
Options *List
Tables *List
ForAllTables bool
TableAction DefElemAction
}
func (*AlterPublicationStmt) Pos ¶ added in v1.6.0
func (n *AlterPublicationStmt) Pos() int
type AlterRoleSetStmt ¶ added in v1.6.0
type AlterRoleSetStmt struct {
Role *RoleSpec
Database *string
Setstmt *VariableSetStmt
}
func (*AlterRoleSetStmt) Pos ¶ added in v1.6.0
func (n *AlterRoleSetStmt) Pos() int
type AlterRoleStmt ¶ added in v1.6.0
func (*AlterRoleStmt) Pos ¶ added in v1.6.0
func (n *AlterRoleStmt) Pos() int
type AlterSeqStmt ¶ added in v1.6.0
func (*AlterSeqStmt) Pos ¶ added in v1.6.0
func (n *AlterSeqStmt) Pos() int
type AlterSubscriptionStmt ¶ added in v1.6.0
type AlterSubscriptionStmt struct {
Kind AlterSubscriptionType
Subname *string
Conninfo *string
Publication *List
Options *List
}
func (*AlterSubscriptionStmt) Pos ¶ added in v1.6.0
func (n *AlterSubscriptionStmt) Pos() int
type AlterSubscriptionType ¶ added in v1.6.0
type AlterSubscriptionType uint
func (*AlterSubscriptionType) Pos ¶ added in v1.6.0
func (n *AlterSubscriptionType) Pos() int
type AlterSystemStmt ¶ added in v1.6.0
type AlterSystemStmt struct {
Setstmt *VariableSetStmt
}
func (*AlterSystemStmt) Pos ¶ added in v1.6.0
func (n *AlterSystemStmt) Pos() int
type AlterTSConfigType ¶ added in v1.6.0
type AlterTSConfigType uint
func (*AlterTSConfigType) Pos ¶ added in v1.6.0
func (n *AlterTSConfigType) Pos() int
type AlterTSConfigurationStmt ¶ added in v1.6.0
type AlterTSConfigurationStmt struct {
Kind AlterTSConfigType
Cfgname *List
Tokentype *List
Dicts *List
Override bool
Replace bool
MissingOk bool
}
func (*AlterTSConfigurationStmt) Pos ¶ added in v1.6.0
func (n *AlterTSConfigurationStmt) Pos() int
type AlterTSDictionaryStmt ¶ added in v1.6.0
func (*AlterTSDictionaryStmt) Pos ¶ added in v1.6.0
func (n *AlterTSDictionaryStmt) Pos() int
type AlterTableCmd ¶
type AlterTableCmd struct {
Subtype AlterTableType
Name *string
Def *ColumnDef
Newowner *RoleSpec
Behavior DropBehavior
MissingOk bool
}
func (*AlterTableCmd) Pos ¶
func (n *AlterTableCmd) Pos() int
type AlterTableMoveAllStmt ¶ added in v1.6.0
type AlterTableMoveAllStmt struct {
OrigTablespacename *string
Objtype ObjectType
Roles *List
NewTablespacename *string
Nowait bool
}
func (*AlterTableMoveAllStmt) Pos ¶ added in v1.6.0
func (n *AlterTableMoveAllStmt) Pos() int
type AlterTableSetSchemaStmt ¶
func (*AlterTableSetSchemaStmt) Pos ¶
func (n *AlterTableSetSchemaStmt) Pos() int
type AlterTableSpaceOptionsStmt ¶ added in v1.6.0
func (*AlterTableSpaceOptionsStmt) Pos ¶ added in v1.6.0
func (n *AlterTableSpaceOptionsStmt) Pos() int
type AlterTableStmt ¶
type AlterTableStmt struct {
// TODO: Only TableName or Relation should be defined
Relation *RangeVar
Table *TableName
Cmds *List
MissingOk bool
Relkind ObjectType
}
func (*AlterTableStmt) Pos ¶
func (n *AlterTableStmt) Pos() int
type AlterTableType ¶
type AlterTableType int
const ( AT_AddColumn AlterTableType = iota AT_AlterColumnType AT_DropColumn AT_DropNotNull AT_SetNotNull )
func (AlterTableType) String ¶ added in v1.7.0
func (t AlterTableType) String() string
type AlterTableType_PG ¶ added in v1.6.0
type AlterTableType_PG uint
func (*AlterTableType_PG) Pos ¶ added in v1.6.0
func (n *AlterTableType_PG) Pos() int
type AlterTypeAddValueStmt ¶ added in v1.2.0
type AlterTypeAddValueStmt struct {
Type *TypeName
NewValue *string
NewValHasNeighbor bool
NewValNeighbor *string
NewValIsAfter bool
SkipIfNewValExists bool
}
func (*AlterTypeAddValueStmt) Pos ¶ added in v1.2.0
func (n *AlterTypeAddValueStmt) Pos() int
type AlterTypeRenameValueStmt ¶ added in v1.2.0
func (*AlterTypeRenameValueStmt) Pos ¶ added in v1.2.0
func (n *AlterTypeRenameValueStmt) Pos() int
type AlterTypeSetSchemaStmt ¶ added in v1.18.0
func (*AlterTypeSetSchemaStmt) Pos ¶ added in v1.18.0
func (n *AlterTypeSetSchemaStmt) Pos() int
type AlterUserMappingStmt ¶ added in v1.6.0
func (*AlterUserMappingStmt) Pos ¶ added in v1.6.0
func (n *AlterUserMappingStmt) Pos() int
type AlternativeSubPlan ¶ added in v1.6.0
func (*AlternativeSubPlan) Pos ¶ added in v1.6.0
func (n *AlternativeSubPlan) Pos() int
type ArrayCoerceExpr ¶ added in v1.6.0
type ArrayCoerceExpr struct {
Xpr Node
Arg Node
Elemfuncid Oid
Resulttype Oid
Resulttypmod int32
Resultcollid Oid
IsExplicit bool
Coerceformat CoercionForm
Location int
}
func (*ArrayCoerceExpr) Pos ¶ added in v1.6.0
func (n *ArrayCoerceExpr) Pos() int
type ArrayExpr ¶ added in v1.6.0
type ArrayRef ¶ added in v1.6.0
type AttrNumber ¶ added in v1.6.0
type AttrNumber int16
func (*AttrNumber) Pos ¶ added in v1.6.0
func (n *AttrNumber) Pos() int
type BetweenExpr ¶ added in v1.11.0
type BetweenExpr struct {
// Expr is the value expression to be compared.
Expr Node
// Left is the left expression in the between statement.
Left Node
// Right is the right expression in the between statement.
Right Node
// Not is true, the expression is "not between".
Not bool
Location int
}
func (*BetweenExpr) Pos ¶ added in v1.11.0
func (n *BetweenExpr) Pos() int
type BlockId ¶ added in v1.6.0
type BlockId BlockIdData
type BlockIdData ¶ added in v1.6.0
func (*BlockIdData) Pos ¶ added in v1.6.0
func (n *BlockIdData) Pos() int
type BlockNumber ¶ added in v1.6.0
type BlockNumber uint32
func (*BlockNumber) Pos ¶ added in v1.6.0
func (n *BlockNumber) Pos() int
type BoolExpr ¶ added in v1.6.0
type BoolExpr struct {
Xpr Node
Boolop BoolExprType
Args *List
Location int
}
type BoolExprType ¶ added in v1.6.0
type BoolExprType uint
const ( BoolExprTypeAnd BoolExprType BoolExprTypeOr BoolExprTypeNot )
https://github.com/pganalyze/libpg_query/blob/13-latest/protobuf/pg_query.proto#L2783-L2789
func (*BoolExprType) Pos ¶ added in v1.6.0
func (n *BoolExprType) Pos() int
type BoolTestType ¶ added in v1.6.0
type BoolTestType uint
func (*BoolTestType) Pos ¶ added in v1.6.0
func (n *BoolTestType) Pos() int
type BooleanTest ¶ added in v1.6.0
type BooleanTest struct {
Xpr Node
Arg Node
Booltesttype BoolTestType
Location int
}
func (*BooleanTest) Pos ¶ added in v1.6.0
func (n *BooleanTest) Pos() int
type CaseExpr ¶ added in v1.6.0
type CaseTestExpr ¶ added in v1.6.0
func (*CaseTestExpr) Pos ¶ added in v1.6.0
func (n *CaseTestExpr) Pos() int
type CheckPointStmt ¶ added in v1.6.0
type CheckPointStmt struct {
}
func (*CheckPointStmt) Pos ¶ added in v1.6.0
func (n *CheckPointStmt) Pos() int
type ClosePortalStmt ¶ added in v1.6.0
type ClosePortalStmt struct {
Portalname *string
}
func (*ClosePortalStmt) Pos ¶ added in v1.6.0
func (n *ClosePortalStmt) Pos() int
type ClusterStmt ¶ added in v1.6.0
func (*ClusterStmt) Pos ¶ added in v1.6.0
func (n *ClusterStmt) Pos() int
type CoalesceExpr ¶ added in v1.6.0
func (*CoalesceExpr) Pos ¶ added in v1.6.0
func (n *CoalesceExpr) Pos() int
type CoerceToDomain ¶ added in v1.6.0
type CoerceToDomain struct {
Xpr Node
Arg Node
Resulttype Oid
Resulttypmod int32
Resultcollid Oid
Coercionformat CoercionForm
Location int
}
func (*CoerceToDomain) Pos ¶ added in v1.6.0
func (n *CoerceToDomain) Pos() int
type CoerceToDomainValue ¶ added in v1.6.0
func (*CoerceToDomainValue) Pos ¶ added in v1.6.0
func (n *CoerceToDomainValue) Pos() int
type CoerceViaIO ¶ added in v1.6.0
type CoerceViaIO struct {
Xpr Node
Arg Node
Resulttype Oid
Resultcollid Oid
Coerceformat CoercionForm
Location int
}
func (*CoerceViaIO) Pos ¶ added in v1.6.0
func (n *CoerceViaIO) Pos() int
type CoercionContext ¶ added in v1.6.0
type CoercionContext uint
func (*CoercionContext) Pos ¶ added in v1.6.0
func (n *CoercionContext) Pos() int
type CoercionForm ¶ added in v1.6.0
type CoercionForm uint
func (*CoercionForm) Pos ¶ added in v1.6.0
func (n *CoercionForm) Pos() int
type CollateClause ¶ added in v1.6.0
func (*CollateClause) Pos ¶ added in v1.6.0
func (n *CollateClause) Pos() int
type CollateExpr ¶ added in v1.6.0
func (*CollateExpr) Pos ¶ added in v1.6.0
func (n *CollateExpr) Pos() int
type ColumnDef ¶
type ColumnDef struct {
Colname string
TypeName *TypeName
IsNotNull bool
IsUnsigned bool
IsArray bool
Vals *List
Length *int
// From pg.ColumnDef
Inhcount int
IsLocal bool
IsFromType bool
IsFromParent bool
Storage byte
RawDefault Node
CookedDefault Node
Identity byte
CollClause *CollateClause
CollOid Oid
Constraints *List
Fdwoptions *List
Location int
Comment string
}
type CommentOnColumnStmt ¶
func (*CommentOnColumnStmt) Pos ¶
func (n *CommentOnColumnStmt) Pos() int
type CommentOnSchemaStmt ¶
func (*CommentOnSchemaStmt) Pos ¶
func (n *CommentOnSchemaStmt) Pos() int
type CommentOnTableStmt ¶
func (*CommentOnTableStmt) Pos ¶
func (n *CommentOnTableStmt) Pos() int
type CommentOnTypeStmt ¶
func (*CommentOnTypeStmt) Pos ¶
func (n *CommentOnTypeStmt) Pos() int
type CommentOnViewStmt ¶ added in v1.19.0
func (*CommentOnViewStmt) Pos ¶ added in v1.19.0
func (n *CommentOnViewStmt) Pos() int
type CommentStmt ¶ added in v1.6.0
type CommentStmt struct {
Objtype ObjectType
Object Node
Comment *string
}
func (*CommentStmt) Pos ¶ added in v1.6.0
func (n *CommentStmt) Pos() int
type CommonTableExpr ¶ added in v1.6.0
type CommonTableExpr struct {
Ctename *string
Aliascolnames *List
Ctequery Node
Location int
Cterecursive bool
Cterefcount int
Ctecolnames *List
Ctecoltypes *List
Ctecoltypmods *List
Ctecolcollations *List
}
func (*CommonTableExpr) Pos ¶ added in v1.6.0
func (n *CommonTableExpr) Pos() int
type CompositeTypeStmt ¶ added in v1.4.0
type CompositeTypeStmt struct {
TypeName *TypeName
}
func (*CompositeTypeStmt) Pos ¶ added in v1.4.0
func (n *CompositeTypeStmt) Pos() int
type Const ¶ added in v1.6.0
type ConstrType ¶ added in v1.6.0
type ConstrType uint
func (*ConstrType) Pos ¶ added in v1.6.0
func (n *ConstrType) Pos() int
type Constraint ¶ added in v1.6.0
type Constraint struct {
Contype ConstrType
Conname *string
Deferrable bool
Initdeferred bool
Location int
IsNoInherit bool
RawExpr Node
CookedExpr *string
GeneratedWhen byte
Keys *List
Exclusions *List
Options *List
Indexname *string
Indexspace *string
AccessMethod *string
WhereClause Node
Pktable *RangeVar
FkAttrs *List
PkAttrs *List
FkMatchtype byte
FkUpdAction byte
FkDelAction byte
OldConpfeqop *List
OldPktableOid Oid
SkipValidation bool
InitiallyValid bool
}
func (*Constraint) Pos ¶ added in v1.6.0
func (n *Constraint) Pos() int
type ConstraintsSetStmt ¶ added in v1.6.0
func (*ConstraintsSetStmt) Pos ¶ added in v1.6.0
func (n *ConstraintsSetStmt) Pos() int
type ConvertRowtypeExpr ¶ added in v1.6.0
type ConvertRowtypeExpr struct {
Xpr Node
Arg Node
Resulttype Oid
Convertformat CoercionForm
Location int
}
func (*ConvertRowtypeExpr) Pos ¶ added in v1.6.0
func (n *ConvertRowtypeExpr) Pos() int
type CopyStmt ¶ added in v1.6.0
type CreateAmStmt ¶ added in v1.6.0
func (*CreateAmStmt) Pos ¶ added in v1.6.0
func (n *CreateAmStmt) Pos() int
type CreateCastStmt ¶ added in v1.6.0
type CreateCastStmt struct {
Sourcetype *TypeName
Targettype *TypeName
Func *ObjectWithArgs
Context CoercionContext
Inout bool
}
func (*CreateCastStmt) Pos ¶ added in v1.6.0
func (n *CreateCastStmt) Pos() int
type CreateConversionStmt ¶ added in v1.6.0
type CreateConversionStmt struct {
ConversionName *List
ForEncodingName *string
ToEncodingName *string
FuncName *List
Def bool
}
func (*CreateConversionStmt) Pos ¶ added in v1.6.0
func (n *CreateConversionStmt) Pos() int
type CreateDomainStmt ¶ added in v1.6.0
type CreateDomainStmt struct {
Domainname *List
TypeName *TypeName
CollClause *CollateClause
Constraints *List
}
func (*CreateDomainStmt) Pos ¶ added in v1.6.0
func (n *CreateDomainStmt) Pos() int
type CreateEnumStmt ¶
func (*CreateEnumStmt) Pos ¶
func (n *CreateEnumStmt) Pos() int
type CreateEventTrigStmt ¶ added in v1.6.0
type CreateEventTrigStmt struct {
Trigname *string
Eventname *string
Whenclause *List
Funcname *List
}
func (*CreateEventTrigStmt) Pos ¶ added in v1.6.0
func (n *CreateEventTrigStmt) Pos() int
type CreateExtensionStmt ¶ added in v1.6.0
func (*CreateExtensionStmt) Pos ¶ added in v1.6.0
func (n *CreateExtensionStmt) Pos() int
type CreateFdwStmt ¶ added in v1.6.0
func (*CreateFdwStmt) Pos ¶ added in v1.6.0
func (n *CreateFdwStmt) Pos() int
type CreateForeignServerStmt ¶ added in v1.6.0
type CreateForeignServerStmt struct {
Servername *string
Servertype *string
Version *string
Fdwname *string
IfNotExists bool
Options *List
}
func (*CreateForeignServerStmt) Pos ¶ added in v1.6.0
func (n *CreateForeignServerStmt) Pos() int
type CreateForeignTableStmt ¶ added in v1.6.0
type CreateForeignTableStmt struct {
Base *CreateStmt
Servername *string
Options *List
}
func (*CreateForeignTableStmt) Pos ¶ added in v1.6.0
func (n *CreateForeignTableStmt) Pos() int
type CreateFunctionStmt ¶
type CreateFunctionStmt struct {
Replace bool
Params *List
ReturnType *TypeName
Func *FuncName
// TODO: Undertand these two fields
Options *List
WithClause *List
}
func (*CreateFunctionStmt) Pos ¶
func (n *CreateFunctionStmt) Pos() int
type CreateOpClassItem ¶ added in v1.6.0
type CreateOpClassItem struct {
Itemtype int
Name *ObjectWithArgs
Number int
OrderFamily *List
ClassArgs *List
Storedtype *TypeName
}
func (*CreateOpClassItem) Pos ¶ added in v1.6.0
func (n *CreateOpClassItem) Pos() int
type CreateOpClassStmt ¶ added in v1.6.0
type CreateOpClassStmt struct {
Opclassname *List
Opfamilyname *List
Amname *string
Datatype *TypeName
Items *List
IsDefault bool
}
func (*CreateOpClassStmt) Pos ¶ added in v1.6.0
func (n *CreateOpClassStmt) Pos() int
type CreateOpFamilyStmt ¶ added in v1.6.0
func (*CreateOpFamilyStmt) Pos ¶ added in v1.6.0
func (n *CreateOpFamilyStmt) Pos() int
type CreatePLangStmt ¶ added in v1.6.0
type CreatePLangStmt struct {
Replace bool
Plname *string
Plhandler *List
Plinline *List
Plvalidator *List
Pltrusted bool
}
func (*CreatePLangStmt) Pos ¶ added in v1.6.0
func (n *CreatePLangStmt) Pos() int
type CreatePolicyStmt ¶ added in v1.6.0
type CreatePolicyStmt struct {
PolicyName *string
Table *RangeVar
CmdName *string
Permissive bool
Roles *List
Qual Node
WithCheck Node
}
func (*CreatePolicyStmt) Pos ¶ added in v1.6.0
func (n *CreatePolicyStmt) Pos() int
type CreatePublicationStmt ¶ added in v1.6.0
func (*CreatePublicationStmt) Pos ¶ added in v1.6.0
func (n *CreatePublicationStmt) Pos() int
type CreateRangeStmt ¶ added in v1.6.0
func (*CreateRangeStmt) Pos ¶ added in v1.6.0
func (n *CreateRangeStmt) Pos() int
type CreateRoleStmt ¶ added in v1.6.0
type CreateRoleStmt struct {
StmtType RoleStmtType
Role *string
Options *List
}
func (*CreateRoleStmt) Pos ¶ added in v1.6.0
func (n *CreateRoleStmt) Pos() int
type CreateSchemaStmt ¶
func (*CreateSchemaStmt) Pos ¶
func (n *CreateSchemaStmt) Pos() int
type CreateSeqStmt ¶ added in v1.6.0
type CreateSeqStmt struct {
Sequence *RangeVar
Options *List
OwnerId Oid
ForIdentity bool
IfNotExists bool
}
func (*CreateSeqStmt) Pos ¶ added in v1.6.0
func (n *CreateSeqStmt) Pos() int
type CreateStatsStmt ¶ added in v1.6.0
type CreateStatsStmt struct {
Defnames *List
StatTypes *List
Exprs *List
Relations *List
IfNotExists bool
}
func (*CreateStatsStmt) Pos ¶ added in v1.6.0
func (n *CreateStatsStmt) Pos() int
type CreateStmt ¶ added in v1.6.0
type CreateStmt struct {
Relation *RangeVar
TableElts *List
InhRelations *List
Partbound *PartitionBoundSpec
Partspec *PartitionSpec
OfTypename *TypeName
Constraints *List
Options *List
Oncommit OnCommitAction
Tablespacename *string
IfNotExists bool
}
func (*CreateStmt) Pos ¶ added in v1.6.0
func (n *CreateStmt) Pos() int
type CreateSubscriptionStmt ¶ added in v1.6.0
type CreateSubscriptionStmt struct {
Subname *string
Conninfo *string
Publication *List
Options *List
}
func (*CreateSubscriptionStmt) Pos ¶ added in v1.6.0
func (n *CreateSubscriptionStmt) Pos() int
type CreateTableAsStmt ¶ added in v1.6.0
type CreateTableAsStmt struct {
Query Node
Into *IntoClause
Relkind ObjectType
IsSelectInto bool
IfNotExists bool
}
func (*CreateTableAsStmt) Pos ¶ added in v1.6.0
func (n *CreateTableAsStmt) Pos() int
type CreateTableSpaceStmt ¶ added in v1.6.0
type CreateTableSpaceStmt struct {
Tablespacename *string
Owner *RoleSpec
Location *string
Options *List
}
func (*CreateTableSpaceStmt) Pos ¶ added in v1.6.0
func (n *CreateTableSpaceStmt) Pos() int
type CreateTableStmt ¶
type CreateTableStmt struct {
IfNotExists bool
Name *TableName
Cols []*ColumnDef
ReferTable *TableName
Comment string
Inherits []*TableName
}
func (*CreateTableStmt) Pos ¶
func (n *CreateTableStmt) Pos() int
type CreateTransformStmt ¶ added in v1.6.0
type CreateTransformStmt struct {
Replace bool
TypeName *TypeName
Lang *string
Fromsql *ObjectWithArgs
Tosql *ObjectWithArgs
}
func (*CreateTransformStmt) Pos ¶ added in v1.6.0
func (n *CreateTransformStmt) Pos() int
type CreateTrigStmt ¶ added in v1.6.0
type CreateTrigStmt struct {
Trigname *string
Relation *RangeVar
Funcname *List
Args *List
Row bool
Timing int16
Events int16
Columns *List
WhenClause Node
Isconstraint bool
TransitionRels *List
Deferrable bool
Initdeferred bool
Constrrel *RangeVar
}
func (*CreateTrigStmt) Pos ¶ added in v1.6.0
func (n *CreateTrigStmt) Pos() int
type CreateUserMappingStmt ¶ added in v1.6.0
type CreateUserMappingStmt struct {
User *RoleSpec
Servername *string
IfNotExists bool
Options *List
}
func (*CreateUserMappingStmt) Pos ¶ added in v1.6.0
func (n *CreateUserMappingStmt) Pos() int
type CreatedbStmt ¶ added in v1.6.0
func (*CreatedbStmt) Pos ¶ added in v1.6.0
func (n *CreatedbStmt) Pos() int
type CurrentOfExpr ¶ added in v1.6.0
func (*CurrentOfExpr) Pos ¶ added in v1.6.0
func (n *CurrentOfExpr) Pos() int
type DeallocateStmt ¶ added in v1.6.0
type DeallocateStmt struct {
Name *string
}
func (*DeallocateStmt) Pos ¶ added in v1.6.0
func (n *DeallocateStmt) Pos() int
type DeclareCursorStmt ¶ added in v1.6.0
func (*DeclareCursorStmt) Pos ¶ added in v1.6.0
func (n *DeclareCursorStmt) Pos() int
type DefElem ¶ added in v1.6.0
type DefElem struct {
Defnamespace *string
Defname *string
Arg Node
Defaction DefElemAction
Location int
}
type DefElemAction ¶ added in v1.6.0
type DefElemAction uint
func (*DefElemAction) Pos ¶ added in v1.6.0
func (n *DefElemAction) Pos() int
type DefineStmt ¶ added in v1.6.0
type DefineStmt struct {
Kind ObjectType
Oldstyle bool
Defnames *List
Args *List
Definition *List
IfNotExists bool
}
func (*DefineStmt) Pos ¶ added in v1.6.0
func (n *DefineStmt) Pos() int
type DeleteStmt ¶ added in v1.6.0
type DeleteStmt struct {
Relations *List
UsingClause *List
WhereClause Node
LimitCount Node
ReturningList *List
WithClause *WithClause
}
func (*DeleteStmt) Pos ¶ added in v1.6.0
func (n *DeleteStmt) Pos() int
type DiscardMode ¶ added in v1.6.0
type DiscardMode uint
func (*DiscardMode) Pos ¶ added in v1.6.0
func (n *DiscardMode) Pos() int
type DiscardStmt ¶ added in v1.6.0
type DiscardStmt struct {
Target DiscardMode
}
func (*DiscardStmt) Pos ¶ added in v1.6.0
func (n *DiscardStmt) Pos() int
type DistinctExpr ¶ added in v1.6.0
type DistinctExpr OpExpr
func (*DistinctExpr) Pos ¶ added in v1.6.0
func (n *DistinctExpr) Pos() int
type DropBehavior ¶ added in v1.6.0
type DropBehavior uint
func (*DropBehavior) Pos ¶ added in v1.6.0
func (n *DropBehavior) Pos() int
type DropFunctionStmt ¶
func (*DropFunctionStmt) Pos ¶
func (n *DropFunctionStmt) Pos() int
type DropOwnedStmt ¶ added in v1.6.0
type DropOwnedStmt struct {
Roles *List
Behavior DropBehavior
}
func (*DropOwnedStmt) Pos ¶ added in v1.6.0
func (n *DropOwnedStmt) Pos() int
type DropRoleStmt ¶ added in v1.6.0
func (*DropRoleStmt) Pos ¶ added in v1.6.0
func (n *DropRoleStmt) Pos() int
type DropSchemaStmt ¶
func (*DropSchemaStmt) Pos ¶
func (n *DropSchemaStmt) Pos() int
type DropStmt ¶ added in v1.6.0
type DropStmt struct {
Objects *List
RemoveType ObjectType
Behavior DropBehavior
MissingOk bool
Concurrent bool
}
type DropSubscriptionStmt ¶ added in v1.6.0
type DropSubscriptionStmt struct {
Subname *string
MissingOk bool
Behavior DropBehavior
}
func (*DropSubscriptionStmt) Pos ¶ added in v1.6.0
func (n *DropSubscriptionStmt) Pos() int
type DropTableSpaceStmt ¶ added in v1.6.0
func (*DropTableSpaceStmt) Pos ¶ added in v1.6.0
func (n *DropTableSpaceStmt) Pos() int
type DropTableStmt ¶
func (*DropTableStmt) Pos ¶
func (n *DropTableStmt) Pos() int
type DropTypeStmt ¶
func (*DropTypeStmt) Pos ¶
func (n *DropTypeStmt) Pos() int
type DropUserMappingStmt ¶ added in v1.6.0
func (*DropUserMappingStmt) Pos ¶ added in v1.6.0
func (n *DropUserMappingStmt) Pos() int
type DropdbStmt ¶ added in v1.6.0
func (*DropdbStmt) Pos ¶ added in v1.6.0
func (n *DropdbStmt) Pos() int
type ExecuteStmt ¶ added in v1.6.0
func (*ExecuteStmt) Pos ¶ added in v1.6.0
func (n *ExecuteStmt) Pos() int
type ExplainStmt ¶ added in v1.6.0
func (*ExplainStmt) Pos ¶ added in v1.6.0
func (n *ExplainStmt) Pos() int
type FetchDirection ¶ added in v1.6.0
type FetchDirection uint
func (*FetchDirection) Pos ¶ added in v1.6.0
func (n *FetchDirection) Pos() int
type FetchStmt ¶ added in v1.6.0
type FetchStmt struct {
Direction FetchDirection
HowMany int64
Portalname *string
Ismove bool
}
type FieldSelect ¶ added in v1.6.0
type FieldSelect struct {
Xpr Node
Arg Node
Fieldnum AttrNumber
Resulttype Oid
Resulttypmod int32
Resultcollid Oid
}
func (*FieldSelect) Pos ¶ added in v1.6.0
func (n *FieldSelect) Pos() int
type FieldStore ¶ added in v1.6.0
func (*FieldStore) Pos ¶ added in v1.6.0
func (n *FieldStore) Pos() int
type FuncCall ¶ added in v1.4.0
type FuncExpr ¶ added in v1.6.0
type FuncParam ¶
type FuncParam struct {
Name *string
Type *TypeName
DefExpr Node // Will always be &ast.TODO
Mode FuncParamMode
}
type FuncParamMode ¶ added in v1.4.0
type FuncParamMode int
const ( FuncParamIn FuncParamMode = iota FuncParamOut FuncParamInOut FuncParamVariadic FuncParamTable FuncParamDefault )
type FunctionParameter ¶ added in v1.6.0
type FunctionParameter struct {
Name *string
ArgType *TypeName
Mode FunctionParameterMode
Defexpr Node
}
func (*FunctionParameter) Pos ¶ added in v1.6.0
func (n *FunctionParameter) Pos() int
type FunctionParameterMode ¶ added in v1.6.0
type FunctionParameterMode uint
func (*FunctionParameterMode) Pos ¶ added in v1.6.0
func (n *FunctionParameterMode) Pos() int
type GrantObjectType ¶ added in v1.6.0
type GrantObjectType uint
func (*GrantObjectType) Pos ¶ added in v1.6.0
func (n *GrantObjectType) Pos() int
type GrantRoleStmt ¶ added in v1.6.0
type GrantRoleStmt struct {
GrantedRoles *List
GranteeRoles *List
IsGrant bool
AdminOpt bool
Grantor *RoleSpec
Behavior DropBehavior
}
func (*GrantRoleStmt) Pos ¶ added in v1.6.0
func (n *GrantRoleStmt) Pos() int
type GrantStmt ¶ added in v1.6.0
type GrantStmt struct {
IsGrant bool
Targtype GrantTargetType
Objtype GrantObjectType
Objects *List
Privileges *List
Grantees *List
GrantOption bool
Behavior DropBehavior
}
type GrantTargetType ¶ added in v1.6.0
type GrantTargetType uint
func (*GrantTargetType) Pos ¶ added in v1.6.0
func (n *GrantTargetType) Pos() int
type GroupingFunc ¶ added in v1.6.0
type GroupingFunc struct {
Xpr Node
Args *List
Refs *List
Cols *List
Agglevelsup Index
Location int
}
func (*GroupingFunc) Pos ¶ added in v1.6.0
func (n *GroupingFunc) Pos() int
type GroupingSet ¶ added in v1.6.0
type GroupingSet struct {
Kind GroupingSetKind
Content *List
Location int
}
func (*GroupingSet) Pos ¶ added in v1.6.0
func (n *GroupingSet) Pos() int
type GroupingSetKind ¶ added in v1.6.0
type GroupingSetKind uint
func (*GroupingSetKind) Pos ¶ added in v1.6.0
func (n *GroupingSetKind) Pos() int
type ImportForeignSchemaStmt ¶ added in v1.6.0
type ImportForeignSchemaStmt struct {
ServerName *string
RemoteSchema *string
LocalSchema *string
ListType ImportForeignSchemaType
TableList *List
Options *List
}
func (*ImportForeignSchemaStmt) Pos ¶ added in v1.6.0
func (n *ImportForeignSchemaStmt) Pos() int
type ImportForeignSchemaType ¶ added in v1.6.0
type ImportForeignSchemaType uint
func (*ImportForeignSchemaType) Pos ¶ added in v1.6.0
func (n *ImportForeignSchemaType) Pos() int
type In ¶ added in v1.11.0
type In struct {
// Expr is the value expression to be compared.
Expr Node
// List is the list expression in compare list.
List []Node
// Not is true, the expression is "not in".
Not bool
// Sel is the subquery, may be rewritten to other type of expression.
Sel Node
Location int
}
In describes a 'select foo in (bar, baz)' type statement, though there are multiple important variants handled.
type IndexElem ¶ added in v1.6.0
type IndexStmt ¶ added in v1.6.0
type IndexStmt struct {
Idxname *string
Relation *RangeVar
AccessMethod *string
TableSpace *string
IndexParams *List
Options *List
WhereClause Node
ExcludeOpNames *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 ¶ added in v1.6.0
func (*InferClause) Pos ¶ added in v1.6.0
func (n *InferClause) Pos() int
type InferenceElem ¶ added in v1.6.0
func (*InferenceElem) Pos ¶ added in v1.6.0
func (n *InferenceElem) Pos() int
type InlineCodeBlock ¶ added in v1.6.0
func (*InlineCodeBlock) Pos ¶ added in v1.6.0
func (n *InlineCodeBlock) Pos() int
type InsertStmt ¶ added in v1.6.0
type InsertStmt struct {
Relation *RangeVar
Cols *List
SelectStmt Node
OnConflictClause *OnConflictClause
ReturningList *List
WithClause *WithClause
Override OverridingKind
}
func (*InsertStmt) Pos ¶ added in v1.6.0
func (n *InsertStmt) Pos() int
type IntoClause ¶ added in v1.6.0
type IntoClause struct {
Rel *RangeVar
ColNames *List
Options *List
OnCommit OnCommitAction
TableSpaceName *string
ViewQuery Node
SkipData bool
}
func (*IntoClause) Pos ¶ added in v1.6.0
func (n *IntoClause) Pos() int
type JoinExpr ¶ added in v1.6.0
type JoinType ¶ added in v1.6.0
type JoinType uint
const ( JoinTypeInner JoinType JoinTypeLeft JoinTypeFull JoinTypeRight JoinTypeSemi JoinTypeAnti JoinTypeUniqueOuter JoinTypeUniqueInner )
JoinType is the reported type of the join Enum copies https://github.com/pganalyze/libpg_query/blob/13-latest/protobuf/pg_query.proto#L2890-L2901
type ListenStmt ¶ added in v1.6.0
type ListenStmt struct {
Conditionname *string
}
func (*ListenStmt) Pos ¶ added in v1.6.0
func (n *ListenStmt) Pos() int
type LocalTransactionId ¶ added in v1.6.0
type LocalTransactionId uint32
func (*LocalTransactionId) Pos ¶ added in v1.6.0
func (n *LocalTransactionId) Pos() int
type LockClauseStrength ¶ added in v1.6.0
type LockClauseStrength uint
func (*LockClauseStrength) Pos ¶ added in v1.6.0
func (n *LockClauseStrength) Pos() int
type LockWaitPolicy ¶ added in v1.6.0
type LockWaitPolicy uint
func (*LockWaitPolicy) Pos ¶ added in v1.6.0
func (n *LockWaitPolicy) Pos() int
type LockingClause ¶ added in v1.6.0
type LockingClause struct {
LockedRels *List
Strength LockClauseStrength
WaitPolicy LockWaitPolicy
}
func (*LockingClause) Pos ¶ added in v1.6.0
func (n *LockingClause) Pos() int
type MinMaxExpr ¶ added in v1.6.0
type MinMaxExpr struct {
Xpr Node
Minmaxtype Oid
Minmaxcollid Oid
Inputcollid Oid
Op MinMaxOp
Args *List
Location int
}
func (*MinMaxExpr) Pos ¶ added in v1.6.0
func (n *MinMaxExpr) Pos() int
type MultiAssignRef ¶ added in v1.6.0
func (*MultiAssignRef) Pos ¶ added in v1.6.0
func (n *MultiAssignRef) Pos() int
type MultiXactId ¶ added in v1.6.0
type MultiXactId TransactionId
func (*MultiXactId) Pos ¶ added in v1.6.0
func (n *MultiXactId) Pos() int
type MultiXactOffset ¶ added in v1.6.0
type MultiXactOffset uint32
func (*MultiXactOffset) Pos ¶ added in v1.6.0
func (n *MultiXactOffset) Pos() int
type NamedArgExpr ¶ added in v1.6.0
func (*NamedArgExpr) Pos ¶ added in v1.6.0
func (n *NamedArgExpr) Pos() int
type NextValueExpr ¶ added in v1.6.0
func (*NextValueExpr) Pos ¶ added in v1.6.0
func (n *NextValueExpr) Pos() int
type NotifyStmt ¶ added in v1.6.0
func (*NotifyStmt) Pos ¶ added in v1.6.0
func (n *NotifyStmt) Pos() int
type NullIfExpr ¶ added in v1.6.0
type NullIfExpr OpExpr
func (*NullIfExpr) Pos ¶ added in v1.6.0
func (n *NullIfExpr) Pos() int
type NullTest ¶ added in v1.6.0
type NullTest struct {
Xpr Node
Arg Node
Nulltesttype NullTestType
Argisrow bool
Location int
}
type NullTestType ¶ added in v1.6.0
type NullTestType uint
func (*NullTestType) Pos ¶ added in v1.6.0
func (n *NullTestType) Pos() int
type ObjectType ¶ added in v1.6.0
type ObjectType uint
func (*ObjectType) Pos ¶ added in v1.6.0
func (n *ObjectType) Pos() int
type ObjectWithArgs ¶ added in v1.6.0
func (*ObjectWithArgs) Pos ¶ added in v1.6.0
func (n *ObjectWithArgs) Pos() int
type OnCommitAction ¶ added in v1.6.0
type OnCommitAction uint
func (*OnCommitAction) Pos ¶ added in v1.6.0
func (n *OnCommitAction) Pos() int
type OnConflictAction ¶ added in v1.6.0
type OnConflictAction uint
func (*OnConflictAction) Pos ¶ added in v1.6.0
func (n *OnConflictAction) Pos() int
type OnConflictClause ¶ added in v1.6.0
type OnConflictClause struct {
Action OnConflictAction
Infer *InferClause
TargetList *List
WhereClause Node
Location int
}
func (*OnConflictClause) Pos ¶ added in v1.6.0
func (n *OnConflictClause) Pos() int
type OnConflictExpr ¶ added in v1.6.0
type OnConflictExpr struct {
Action OnConflictAction
ArbiterElems *List
ArbiterWhere Node
Constraint Oid
OnConflictSet *List
OnConflictWhere Node
ExclRelIndex int
ExclRelTlist *List
}
func (*OnConflictExpr) Pos ¶ added in v1.6.0
func (n *OnConflictExpr) Pos() int
type OpExpr ¶ added in v1.6.0
type OverridingKind ¶ added in v1.6.0
type OverridingKind uint
func (*OverridingKind) Pos ¶ added in v1.6.0
func (n *OverridingKind) Pos() int
type Param ¶ added in v1.6.0
type ParamExecData ¶ added in v1.6.0
func (*ParamExecData) Pos ¶ added in v1.6.0
func (n *ParamExecData) Pos() int
type ParamExternData ¶ added in v1.6.0
func (*ParamExternData) Pos ¶ added in v1.6.0
func (n *ParamExternData) Pos() int
type ParamListInfo ¶ added in v1.6.0
type ParamListInfo ParamListInfoData
func (*ParamListInfo) Pos ¶ added in v1.6.0
func (n *ParamListInfo) Pos() int
type ParamListInfoData ¶ added in v1.6.0
type ParamListInfoData struct {
ParamFetchArg interface{}
ParserSetupArg interface{}
NumParams int
ParamMask []uint32
}
func (*ParamListInfoData) Pos ¶ added in v1.6.0
func (n *ParamListInfoData) Pos() int
type PartitionBoundSpec ¶ added in v1.6.0
type PartitionBoundSpec struct {
Strategy byte
Listdatums *List
Lowerdatums *List
Upperdatums *List
Location int
}
func (*PartitionBoundSpec) Pos ¶ added in v1.6.0
func (n *PartitionBoundSpec) Pos() int
type PartitionCmd ¶ added in v1.6.0
type PartitionCmd struct {
Name *RangeVar
Bound *PartitionBoundSpec
}
func (*PartitionCmd) Pos ¶ added in v1.6.0
func (n *PartitionCmd) Pos() int
type PartitionElem ¶ added in v1.6.0
func (*PartitionElem) Pos ¶ added in v1.6.0
func (n *PartitionElem) Pos() int
type PartitionRangeDatum ¶ added in v1.6.0
type PartitionRangeDatum struct {
Kind PartitionRangeDatumKind
Value Node
Location int
}
func (*PartitionRangeDatum) Pos ¶ added in v1.6.0
func (n *PartitionRangeDatum) Pos() int
type PartitionRangeDatumKind ¶ added in v1.6.0
type PartitionRangeDatumKind uint
func (*PartitionRangeDatumKind) Pos ¶ added in v1.6.0
func (n *PartitionRangeDatumKind) Pos() int
type PartitionSpec ¶ added in v1.6.0
func (*PartitionSpec) Pos ¶ added in v1.6.0
func (n *PartitionSpec) Pos() int
type PrepareStmt ¶ added in v1.6.0
func (*PrepareStmt) Pos ¶ added in v1.6.0
func (n *PrepareStmt) Pos() int
type Query ¶ added in v1.6.0
type Query struct {
CommandType CmdType
QuerySource QuerySource
QueryId uint32
CanSetTag bool
UtilityStmt Node
ResultRelation int
HasAggs bool
HasWindowFuncs bool
HasTargetSrfs bool
HasSubLinks bool
HasDistinctOn bool
HasRecursive bool
HasModifyingCte bool
HasForUpdate bool
HasRowSecurity bool
CteList *List
Rtable *List
Jointree *FromExpr
TargetList *List
Override OverridingKind
OnConflict *OnConflictExpr
ReturningList *List
GroupClause *List
GroupingSets *List
HavingQual Node
WindowClause *List
DistinctClause *List
SortClause *List
LimitOffset Node
LimitCount Node
RowMarks *List
SetOperations Node
ConstraintDeps *List
WithCheckOptions *List
StmtLocation int
StmtLen int
}
type QuerySource ¶ added in v1.6.0
type QuerySource uint
func (*QuerySource) Pos ¶ added in v1.6.0
func (n *QuerySource) Pos() int
type RangeFunction ¶ added in v1.6.0
type RangeFunction struct {
Lateral bool
Ordinality bool
IsRowsfrom bool
Functions *List
Alias *Alias
Coldeflist *List
}
func (*RangeFunction) Pos ¶ added in v1.6.0
func (n *RangeFunction) Pos() int
type RangeSubselect ¶ added in v1.6.0
func (*RangeSubselect) Pos ¶ added in v1.6.0
func (n *RangeSubselect) Pos() int
type RangeTableFunc ¶ added in v1.6.0
type RangeTableFunc struct {
Lateral bool
Docexpr Node
Rowexpr Node
Namespaces *List
Columns *List
Alias *Alias
Location int
}
func (*RangeTableFunc) Pos ¶ added in v1.6.0
func (n *RangeTableFunc) Pos() int
type RangeTableFuncCol ¶ added in v1.6.0
type RangeTableFuncCol struct {
Colname *string
TypeName *TypeName
ForOrdinality bool
IsNotNull bool
Colexpr Node
Coldefexpr Node
Location int
}
func (*RangeTableFuncCol) Pos ¶ added in v1.6.0
func (n *RangeTableFuncCol) Pos() int
type RangeTableSample ¶ added in v1.6.0
func (*RangeTableSample) Pos ¶ added in v1.6.0
func (n *RangeTableSample) Pos() int
type RangeTblEntry ¶ added in v1.6.0
type RangeTblEntry struct {
Rtekind RTEKind
Relid Oid
Relkind byte
Tablesample *TableSampleClause
Subquery *Query
SecurityBarrier bool
Jointype JoinType
Joinaliasvars *List
Functions *List
Funcordinality bool
Tablefunc *TableFunc
ValuesLists *List
Ctename *string
Ctelevelsup Index
SelfReference bool
Coltypes *List
Coltypmods *List
Colcollations *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 *List
}
func (*RangeTblEntry) Pos ¶ added in v1.6.0
func (n *RangeTblEntry) Pos() int
type RangeTblFunction ¶ added in v1.6.0
type RangeTblFunction struct {
Funcexpr Node
Funccolcount int
Funccolnames *List
Funccoltypes *List
Funccoltypmods *List
Funccolcollations *List
Funcparams []uint32
}
func (*RangeTblFunction) Pos ¶ added in v1.6.0
func (n *RangeTblFunction) Pos() int
type RangeTblRef ¶ added in v1.6.0
type RangeTblRef struct {
Rtindex int
}
func (*RangeTblRef) Pos ¶ added in v1.6.0
func (n *RangeTblRef) Pos() int
type RangeVar ¶ added in v1.6.0
type ReassignOwnedStmt ¶ added in v1.6.0
func (*ReassignOwnedStmt) Pos ¶ added in v1.6.0
func (n *ReassignOwnedStmt) Pos() int
type RefreshMatViewStmt ¶ added in v1.6.0
func (*RefreshMatViewStmt) Pos ¶ added in v1.6.0
func (n *RefreshMatViewStmt) Pos() int
type RegProcedure ¶ added in v1.6.0
type RegProcedure regproc
func (*RegProcedure) Pos ¶ added in v1.6.0
func (n *RegProcedure) Pos() int
type ReindexObjectType ¶ added in v1.6.0
type ReindexObjectType uint
func (*ReindexObjectType) Pos ¶ added in v1.6.0
func (n *ReindexObjectType) Pos() int
type ReindexStmt ¶ added in v1.6.0
type ReindexStmt struct {
Kind ReindexObjectType
Relation *RangeVar
Name *string
Options int
}
func (*ReindexStmt) Pos ¶ added in v1.6.0
func (n *ReindexStmt) Pos() int
type RelabelType ¶ added in v1.6.0
type RelabelType struct {
Xpr Node
Arg Node
Resulttype Oid
Resulttypmod int32
Resultcollid Oid
Relabelformat CoercionForm
Location int
}
func (*RelabelType) Pos ¶ added in v1.6.0
func (n *RelabelType) Pos() int
type RenameColumnStmt ¶
func (*RenameColumnStmt) Pos ¶
func (n *RenameColumnStmt) Pos() int
type RenameStmt ¶ added in v1.6.0
type RenameStmt struct {
RenameType ObjectType
RelationType ObjectType
Relation *RangeVar
Object Node
Subname *string
Newname *string
Behavior DropBehavior
MissingOk bool
}
func (*RenameStmt) Pos ¶ added in v1.6.0
func (n *RenameStmt) Pos() int
type RenameTableStmt ¶
func (*RenameTableStmt) Pos ¶
func (n *RenameTableStmt) Pos() int
type RenameTypeStmt ¶ added in v1.8.0
func (*RenameTypeStmt) Pos ¶ added in v1.8.0
func (n *RenameTypeStmt) Pos() int
type ReplicaIdentityStmt ¶ added in v1.6.0
func (*ReplicaIdentityStmt) Pos ¶ added in v1.6.0
func (n *ReplicaIdentityStmt) Pos() int
type RoleSpec ¶ added in v1.6.0
type RoleSpec struct {
Roletype RoleSpecType
Rolename *string
Location int
}
type RoleSpecType ¶ added in v1.6.0
type RoleSpecType uint
func (*RoleSpecType) Pos ¶ added in v1.6.0
func (n *RoleSpecType) Pos() int
type RoleStmtType ¶ added in v1.6.0
type RoleStmtType uint
func (*RoleStmtType) Pos ¶ added in v1.6.0
func (n *RoleStmtType) Pos() int
type RowCompareExpr ¶ added in v1.6.0
type RowCompareExpr struct {
Xpr Node
Rctype RowCompareType
Opnos *List
Opfamilies *List
Inputcollids *List
Largs *List
Rargs *List
}
func (*RowCompareExpr) Pos ¶ added in v1.6.0
func (n *RowCompareExpr) Pos() int
type RowCompareType ¶ added in v1.6.0
type RowCompareType uint
func (*RowCompareType) Pos ¶ added in v1.6.0
func (n *RowCompareType) Pos() int
type RowExpr ¶ added in v1.6.0
type RowMarkClause ¶ added in v1.6.0
type RowMarkClause struct {
Rti Index
Strength LockClauseStrength
WaitPolicy LockWaitPolicy
PushedDown bool
}
func (*RowMarkClause) Pos ¶ added in v1.6.0
func (n *RowMarkClause) Pos() int
type RuleStmt ¶ added in v1.6.0
type SQLValueFunction ¶ added in v1.6.0
type SQLValueFunction struct {
Xpr Node
Op SQLValueFunctionOp
Type Oid
Typmod int32
Location int
}
func (*SQLValueFunction) Pos ¶ added in v1.6.0
func (n *SQLValueFunction) Pos() int
type SQLValueFunctionOp ¶ added in v1.6.0
type SQLValueFunctionOp uint
func (*SQLValueFunctionOp) Pos ¶ added in v1.6.0
func (n *SQLValueFunctionOp) Pos() int
type ScalarArrayOpExpr ¶ added in v1.6.0
type ScalarArrayOpExpr struct {
Xpr Node
Opno Oid
Opfuncid Oid
UseOr bool
Inputcollid Oid
Args *List
Location int
}
func (*ScalarArrayOpExpr) Pos ¶ added in v1.6.0
func (n *ScalarArrayOpExpr) Pos() int
type ScanDirection ¶ added in v1.6.0
type ScanDirection uint
func (*ScanDirection) Pos ¶ added in v1.6.0
func (n *ScanDirection) Pos() int
type SecLabelStmt ¶ added in v1.6.0
type SecLabelStmt struct {
Objtype ObjectType
Object Node
Provider *string
Label *string
}
func (*SecLabelStmt) Pos ¶ added in v1.6.0
func (n *SecLabelStmt) Pos() int
type SelectStmt ¶
type SelectStmt struct {
DistinctClause *List
IntoClause *IntoClause
TargetList *List
FromClause *List
WhereClause Node
GroupClause *List
HavingClause Node
WindowClause *List
ValuesLists *List
SortClause *List
LimitOffset Node
LimitCount Node
LockingClause *List
WithClause *WithClause
Op SetOperation
All bool
Larg *SelectStmt
Rarg *SelectStmt
}
func (*SelectStmt) Pos ¶
func (n *SelectStmt) Pos() int
type Selectivity ¶ added in v1.6.0
type Selectivity float64
func (*Selectivity) Pos ¶ added in v1.6.0
func (n *Selectivity) Pos() int
type SetOpStrategy ¶ added in v1.6.0
type SetOpStrategy uint
func (*SetOpStrategy) Pos ¶ added in v1.6.0
func (n *SetOpStrategy) Pos() int
type SetOperation ¶ added in v1.6.0
type SetOperation uint
const ( None SetOperation = iota Union Intersect Except )
func (*SetOperation) Pos ¶ added in v1.6.0
func (n *SetOperation) Pos() int
func (SetOperation) String ¶ added in v1.7.0
func (n SetOperation) String() string
type SetOperationStmt ¶ added in v1.6.0
type SetOperationStmt struct {
Op SetOperation
All bool
Larg Node
Rarg Node
ColTypes *List
ColTypmods *List
ColCollations *List
GroupClauses *List
}
func (*SetOperationStmt) Pos ¶ added in v1.6.0
func (n *SetOperationStmt) Pos() int
type SetToDefault ¶ added in v1.6.0
func (*SetToDefault) Pos ¶ added in v1.6.0
func (n *SetToDefault) Pos() int
type SortBy ¶ added in v1.6.0
type SortBy struct {
Node Node
SortbyDir SortByDir
SortbyNulls SortByNulls
UseOp *List
Location int
}
type SortByNulls ¶ added in v1.6.0
type SortByNulls uint
func (*SortByNulls) Pos ¶ added in v1.6.0
func (n *SortByNulls) Pos() int
type SortGroupClause ¶ added in v1.6.0
type SortGroupClause struct {
TleSortGroupRef Index
Eqop Oid
Sortop Oid
NullsFirst bool
Hashable bool
}
func (*SortGroupClause) Pos ¶ added in v1.6.0
func (n *SortGroupClause) Pos() int
type SubLink ¶ added in v1.6.0
type SubLinkType ¶ added in v1.6.0
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 ¶ added in v1.6.0
type SubPlan struct {
Xpr Node
SubLinkType SubLinkType
Testexpr Node
ParamIds *List
PlanId int
PlanName *string
FirstColType Oid
FirstColTypmod int32
FirstColCollation Oid
UseHashTable bool
UnknownEqFalse bool
ParallelSafe bool
SetParam *List
ParParam *List
Args *List
StartupCost Cost
PerCallCost Cost
}
type SubTransactionId ¶ added in v1.6.0
type SubTransactionId uint32
func (*SubTransactionId) Pos ¶ added in v1.6.0
func (n *SubTransactionId) Pos() int
type TableFunc ¶ added in v1.6.0
type TableLikeClause ¶ added in v1.6.0
func (*TableLikeClause) Pos ¶ added in v1.6.0
func (n *TableLikeClause) Pos() int
type TableLikeOption ¶ added in v1.6.0
type TableLikeOption uint
func (*TableLikeOption) Pos ¶ added in v1.6.0
func (n *TableLikeOption) Pos() int
type TableSampleClause ¶ added in v1.6.0
func (*TableSampleClause) Pos ¶ added in v1.6.0
func (n *TableSampleClause) Pos() int
type TargetEntry ¶ added in v1.6.0
type TargetEntry struct {
Xpr Node
Expr Node
Resno AttrNumber
Resname *string
Ressortgroupref Index
Resorigtbl Oid
Resorigcol AttrNumber
Resjunk bool
}
func (*TargetEntry) Pos ¶ added in v1.6.0
func (n *TargetEntry) Pos() int
type TransactionId ¶ added in v1.6.0
type TransactionId uint32
func (*TransactionId) Pos ¶ added in v1.6.0
func (n *TransactionId) Pos() int
type TransactionStmt ¶ added in v1.6.0
type TransactionStmt struct {
Kind TransactionStmtKind
Options *List
Gid *string
}
func (*TransactionStmt) Pos ¶ added in v1.6.0
func (n *TransactionStmt) Pos() int
type TransactionStmtKind ¶ added in v1.6.0
type TransactionStmtKind uint
func (*TransactionStmtKind) Pos ¶ added in v1.6.0
func (n *TransactionStmtKind) Pos() int
type TriggerTransition ¶ added in v1.6.0
func (*TriggerTransition) Pos ¶ added in v1.6.0
func (n *TriggerTransition) Pos() int
type TruncateStmt ¶ added in v1.6.0
type TruncateStmt struct {
Relations *List
RestartSeqs bool
Behavior DropBehavior
}
func (*TruncateStmt) Pos ¶ added in v1.6.0
func (n *TruncateStmt) Pos() int
type TypeName ¶
type UnlistenStmt ¶ added in v1.6.0
type UnlistenStmt struct {
Conditionname *string
}
func (*UnlistenStmt) Pos ¶ added in v1.6.0
func (n *UnlistenStmt) Pos() int
type UpdateStmt ¶ added in v1.6.0
type UpdateStmt struct {
Relations *List
TargetList *List
WhereClause Node
FromClause *List
LimitCount Node
ReturningList *List
WithClause *WithClause
}
func (*UpdateStmt) Pos ¶ added in v1.6.0
func (n *UpdateStmt) Pos() int
type VacuumOption ¶ added in v1.6.0
type VacuumOption uint
func (*VacuumOption) Pos ¶ added in v1.6.0
func (n *VacuumOption) Pos() int
type VacuumStmt ¶ added in v1.6.0
func (*VacuumStmt) Pos ¶ added in v1.6.0
func (n *VacuumStmt) Pos() int
type Var ¶ added in v1.6.0
type Var struct {
Xpr Node
Varno Index
Varattno AttrNumber
Vartype Oid
Vartypmod int32
Varcollid Oid
Varlevelsup Index
Varnoold Index
Varoattno AttrNumber
Location int
}
type VariableSetKind ¶ added in v1.6.0
type VariableSetKind uint
func (*VariableSetKind) Pos ¶ added in v1.6.0
func (n *VariableSetKind) Pos() int
type VariableSetStmt ¶ added in v1.6.0
type VariableSetStmt struct {
Kind VariableSetKind
Name *string
Args *List
IsLocal bool
}
func (*VariableSetStmt) Pos ¶ added in v1.6.0
func (n *VariableSetStmt) Pos() int
type VariableShowStmt ¶ added in v1.6.0
type VariableShowStmt struct {
Name *string
}
func (*VariableShowStmt) Pos ¶ added in v1.6.0
func (n *VariableShowStmt) Pos() int
type ViewCheckOption ¶ added in v1.6.0
type ViewCheckOption uint
func (*ViewCheckOption) Pos ¶ added in v1.6.0
func (n *ViewCheckOption) Pos() int
type ViewStmt ¶ added in v1.6.0
type WindowClause ¶ added in v1.6.0
type WindowClause struct {
Name *string
Refname *string
PartitionClause *List
OrderClause *List
FrameOptions int
StartOffset Node
EndOffset Node
Winref Index
CopiedOrder bool
}
func (*WindowClause) Pos ¶ added in v1.6.0
func (n *WindowClause) Pos() int
type WindowDef ¶ added in v1.4.0
type WindowFunc ¶ added in v1.6.0
type WindowFunc struct {
Xpr Node
Winfnoid Oid
Wintype Oid
Wincollid Oid
Inputcollid Oid
Args *List
Aggfilter Node
Winref Index
Winstar bool
Winagg bool
Location int
}
func (*WindowFunc) Pos ¶ added in v1.6.0
func (n *WindowFunc) Pos() int
type WithCheckOption ¶ added in v1.6.0
type WithCheckOption struct {
Kind WCOKind
Relname *string
Polname *string
Qual Node
Cascaded bool
}
func (*WithCheckOption) Pos ¶ added in v1.6.0
func (n *WithCheckOption) Pos() int
type WithClause ¶ added in v1.6.0
func (*WithClause) Pos ¶ added in v1.6.0
func (n *WithClause) Pos() int
type XmlExpr ¶ added in v1.6.0
type XmlOptionType ¶ added in v1.6.0
type XmlOptionType uint
func (*XmlOptionType) Pos ¶ added in v1.6.0
func (n *XmlOptionType) Pos() int
type XmlSerialize ¶ added in v1.6.0
type XmlSerialize struct {
Xmloption XmlOptionType
Expr Node
TypeName *TypeName
Location int
}
func (*XmlSerialize) Pos ¶ added in v1.6.0
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_set_schema_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_type_add_value_stmt.go
- alter_type_rename_value_stmt.go
- alter_type_set_schema_stmt.go
- alter_user_mapping_stmt.go
- alternative_sub_plan.go
- array_coerce_expr.go
- array_expr.go
- array_ref.go
- between_expr.go
- bit_string.go
- block_id_data.go
- bool_expr.go
- bool_expr_type.go
- bool_test_type.go
- boolean.go
- boolean_test_expr.go
- call_stmt.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_on_column_stmt.go
- comment_on_schema_stmt.go
- comment_on_table_stmt.go
- comment_on_type_stmt.go
- comment_on_view_stmt.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_table_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_function_stmt.go
- drop_owned_stmt.go
- drop_role_stmt.go
- drop_schema_stmt.go
- drop_stmt.go
- drop_subscription_stmt.go
- drop_table_space_stmt.go
- drop_table_stmt.go
- drop_type_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_call.go
- func_expr.go
- func_name.go
- func_param.go
- func_spec.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
- in.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
- list.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
- node.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_column_stmt.go
- rename_stmt.go
- rename_table_stmt.go
- rename_type_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
- statement.go
- string.go
- sub_link.go
- sub_plan.go
- table_func.go
- table_like_clause.go
- table_like_option.go
- table_name.go
- table_sample_clause.go
- target_entry.go
- todo.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
- variable_set_kind.go
- variable_set_stmt.go
- variable_show_stmt.go
- view_check_option.go
- view_stmt.go
- wco_kind.go
- window_clause.go
- window_def.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.