Crate libpgquery_sys

Crate libpgquery_sys 

Source

Modules§

node
Nested message and enum types in Node.

Structs§

AArrayExpr
AConst
AExpr
AIndices
AIndirection
AStar
AccessPriv
Aggref
Alias
AlterCollationStmt
AlterDatabaseSetStmt
AlterDatabaseStmt
AlterDefaultPrivilegesStmt
AlterDomainStmt
AlterEnumStmt
AlterEventTrigStmt
AlterExtensionContentsStmt
AlterExtensionStmt
AlterFdwStmt
AlterForeignServerStmt
AlterFunctionStmt
AlterObjectDependsStmt
AlterObjectSchemaStmt
AlterOpFamilyStmt
AlterOperatorStmt
AlterOwnerStmt
AlterPolicyStmt
AlterPublicationStmt
AlterRoleSetStmt
AlterRoleStmt
AlterSeqStmt
AlterStatsStmt
AlterSubscriptionStmt
AlterSystemStmt
AlterTableCmd
AlterTableMoveAllStmt
AlterTableSpaceOptionsStmt
AlterTableStmt
AlterTsConfigurationStmt
AlterTsDictionaryStmt
AlterTypeStmt
AlterUserMappingStmt
AlternativeSubPlan
ArrayCoerceExpr
ArrayExpr
BitString
BoolExpr
BooleanTest
CallContext
CallStmt
CaseExpr
CaseTestExpr
CaseWhen
CheckPointStmt
ClosePortalStmt
ClusterStmt
CoalesceExpr
CoerceToDomain
CoerceToDomainValue
CoerceViaIo
CollateClause
CollateExpr
ColumnDef
ColumnRef
CommentStmt
CommonTableExpr
CompositeTypeStmt
Constraint
ConstraintsSetStmt
ConvertRowtypeExpr
CopyStmt
CreateAmStmt
CreateCastStmt
CreateConversionStmt
CreateDomainStmt
CreateEnumStmt
CreateEventTrigStmt
CreateExtensionStmt
CreateFdwStmt
CreateForeignServerStmt
CreateForeignTableStmt
CreateFunctionStmt
CreateOpClassItem
CreateOpClassStmt
CreateOpFamilyStmt
CreatePLangStmt
CreatePolicyStmt
CreatePublicationStmt
CreateRangeStmt
CreateRoleStmt
CreateSchemaStmt
CreateSeqStmt
CreateStatsStmt
CreateStmt
CreateSubscriptionStmt
CreateTableAsStmt
CreateTableSpaceStmt
CreateTransformStmt
CreateTrigStmt
CreateUserMappingStmt
CreatedbStmt
CurrentOfExpr
DeallocateStmt
DeclareCursorStmt
DefElem
DefineStmt
DeleteStmt
DiscardStmt
DistinctExpr
DoStmt
DropOwnedStmt
DropRoleStmt
DropStmt
DropSubscriptionStmt
DropTableSpaceStmt
DropUserMappingStmt
DropdbStmt
ExecuteStmt
ExplainStmt
Expr
FetchStmt
FieldSelect
FieldStore
Float
FromExpr
FuncCall
FuncExpr
FunctionParameter
GrantRoleStmt
GrantStmt
GroupingFunc
GroupingSet
ImportForeignSchemaStmt
IndexElem
IndexStmt
InferClause
InferenceElem
InlineCodeBlock
InsertStmt
IntList
Integer
IntoClause
JoinExpr
List
ListenStmt
LoadStmt
LockStmt
LockingClause
MinMaxExpr
MultiAssignRef
NamedArgExpr
NextValueExpr
Node
NotifyStmt
Null
intentionally empty
NullIfExpr
NullTest
ObjectWithArgs
OidList
OnConflictClause
OnConflictExpr
OpExpr
Param
ParamRef
ParseResult
PartitionBoundSpec
PartitionCmd
PartitionElem
PartitionRangeDatum
PartitionSpec
PgQueryDeparseResult
PgQueryError
PgQueryFingerprintResult
PgQueryNormalizeResult
PgQueryParseResult
PgQueryPlpgsqlParseResult
PgQueryProtobuf
PgQueryProtobufParseResult
PgQueryScanResult
PgQuerySplitResult
PgQuerySplitStmt
PrepareStmt
Query
RangeFunction
RangeSubselect
RangeTableFunc
RangeTableFuncCol
RangeTableSample
RangeTblEntry
RangeTblFunction
RangeTblRef
RangeVar
RawStmt
ReassignOwnedStmt
RefreshMatViewStmt
ReindexStmt
RelabelType
RenameStmt
ReplicaIdentityStmt
ResTarget
RoleSpec
RowCompareExpr
RowExpr
RowMarkClause
RuleStmt
ScalarArrayOpExpr
ScanResult
ScanToken
SecLabelStmt
SelectStmt
SetOperationStmt
SetToDefault
SortBy
SortGroupClause
SqlValueFunction
String
SubLink
SubPlan
SubscriptingRef
TableFunc
TableLikeClause
TableSampleClause
TargetEntry
TransactionStmt
TriggerTransition
TruncateStmt
TypeCast
TypeName
UnlistenStmt
UpdateStmt
VacuumRelation
VacuumStmt
Var
VariableSetStmt
VariableShowStmt
ViewStmt
WindowClause
WindowDef
WindowFunc
WithCheckOption
WithClause
XmlExpr
XmlSerialize

Enums§

AExprKind
AggSplit
AggStrategy
AlterSubscriptionType
AlterTableType
AlterTsConfigType
BoolExprType
BoolTestType
ClusterOption
CmdType
CoercionContext
CoercionForm
ConstrType
CteMaterialize
DefElemAction
DiscardMode
DropBehavior
Error
FetchDirection
FunctionParameterMode
GrantTargetType
GroupingSetKind
ImportForeignSchemaType
JoinType
KeywordKind
LimitOption
LockClauseStrength
LockTupleMode
LockWaitPolicy
MinMaxOp
NullTestType
ObjectType
OnCommitAction
OnConflictAction
OverridingKind
ParamKind
PartitionRangeDatumKind
QuerySource
ReindexObjectType
RoleSpecType
RoleStmtType
RowCompareType
RteKind
SetOpCmd
SetOpStrategy
SetOperation
SortByDir
SortByNulls
SqlValueFunctionOp
SubLinkType
TableLikeOption
Token
TransactionStmtKind
VariableSetKind
ViewCheckOption
WcoKind
XmlExprOp
XmlOptionType

Constants§

PG_MAJORVERSION
PG_VERSION
PG_VERSION_NUM

Functions§

parse
wrapper around parseToProtobuf for ease-of-use
parseToJson
Parses the given SQL statement into a JSON-formatted parse tree
parseToProtobuf
Parses the given SQL statement into a Protobuf-formatted parse tree
pg_query_deparse_protobuf
pg_query_exit
pg_query_fingerprint
pg_query_free_deparse_result
pg_query_free_fingerprint_result
pg_query_free_normalize_result
pg_query_free_parse_result
pg_query_free_plpgsql_parse_result
pg_query_free_protobuf_parse_result
pg_query_free_scan_result
pg_query_free_split_result
pg_query_init
pg_query_normalize
pg_query_parse
pg_query_parse_plpgsql
pg_query_parse_protobuf
pg_query_scan
pg_query_split_with_parser
pg_query_split_with_scanner

Type Aliases§

int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t