Expand description
DefaultExpr — column default expression.
Three kinds:
DefaultExpr::Literal: a typed literal (numbers, strings, bytea, NULL, etc.).DefaultExpr::Sequence:nextval('seq')references — recognized as desugared identity /SERIALsources.DefaultExpr::Expr: any other expression, stored as aNormalizedExpr.
Real AST normalization (cast stripping, paren folding, commutative-operand sorting)
lands in phase 2 once pg_query is wired in. Phase 1 ships the structural types.
Structs§
- Normalized
Expr - A normalized SQL expression — its canonical text plus a hash of the canonical AST.
Enums§
- Default
Expr - A column-default expression.
- Literal
Value - A typed literal default value.