Expand description
The crabgresql AST for the SP2 slice.
Structs§
- Column
Def - Copy
Stmt - Cte
- Func
Call - SP27: a parsed function call.
nameis lowercased by the lexer. - Hash
Sharding Spec - NonGoal
Refusal Spec - One bounded
PostgreSQL18 syntax representative for an architectural refusal. - Order
Item - Query
Expr - A complete row-producing SQL query expression. The body may be a lone SELECT, a lone VALUES list, or a set-operation tree. The tail applies to the complete query expression.
- Select
Stmt - Sequence
Options - Values
Stmt - SP39: a VALUES row constructor list. Every row is non-empty; cross-row arity
is checked during executor analysis so it gets
PostgreSQL’s analysis SQLSTATE. - With
Clause
Enums§
- Alter
Table Rename - Binary
Op - Column
Constraint - Copy
Format - Expr
- Func
Args - SP27: a function call’s argument list.
Staris thef(*)form (onlycount(*)is meaningful);Exprsis a (possibly empty) positional list. - Import
Selector - The optional table-filter for
IMPORT FOREIGN SCHEMA. - Index
Placement - Isolation
Level - Transaction isolation levels supported by SP4.
- Join
Constraint - Join
Kind - NonGoal
Command - Architectural non-goal commands tracked by the
PostgreSQLcompatibility matrix. - Query
Body - SP39: query bodies that may appear as set-operation leaves or derived tables.
- Refusal
Command - Stable, typed metadata for commands that parse normally and then fail clear.
- Reset
Target - RowLock
Strength - Select
Item - Serial
Kind - SetExpr
- SP38: a node in the set-operation tree. A
Queryleaf is one query block; aSetOpcombines two sub-trees. INTERSECT binds tighter than UNION/EXCEPT; UNION/EXCEPT are left-associative (the parser encodes this in the tree shape). - SetOp
- SetValue
- SP37: the right-hand side of a
SET(or the value form ofSET TIME ZONE).DefaultisSET ... = DEFAULT/SET TIME ZONE { DEFAULT | LOCAL }(resets the parameter to its built-in default);Valueis a literal/identifier value. - Sharding
Spec - Statement
- Table
Constraint - Table
Expr - SP33: one entry in the FROM clause — a base table, a derived table
(subquery), or a join of two table-exprs. The comma form (
FROM a, b) is aVec<TableExpr>with len > 1 (implicit cross join). - UnaryOp
Constants§
Type Aliases§
- Option
List - A key-value option list for FDW DDL:
OPTIONS (key 'value', …).