Expand description
Traversal and identity binding for durable SQL syntax trees.
Structs§
Functions§
- bind_
stored_ expression_ routines - bind_
stored_ expression_ sites - Apply the sites of a bound copy of
expression. Returns whether the syntax changed. - bind_
stored_ statement_ routines - bind_
stored_ statement_ sites - Apply the sites of a bound copy of
statement. Returns whether the syntax changed. - copy_
stored_ source_ column_ shapes - Apply only planned source aliases and physical columns. The column-dependency binder’s expression normalization is analysis state, not a replacement for the stored query.
- fold_
assigned_ stored_ literal - Assignment of a stored
unknownliteral totarget, ascoerce_to_target_typeconverts an untyped constant with the target type’s input function when a default, generation expression or result is analyzed: the literal becomes a constant of the enum or enum-array type, or of that base type of a domain, whose own check applies when the value is assigned. Any other expression is coerced when it is evaluated. - read_
unknown_ stored_ literal - Read an
unknownliteral with the input function oftarget, which reports what the type’s input rejects, and store the typed constant.coerce_typepasses interval modifiers to input; other length and precision modifiers apply when a row is assigned. The constant keeps a written cast’s modifier whenkeep_modifiersays so. - rewrite_
expression_ routine_ identity - rewrite_
statement_ routine_ identity - stored_
expression_ type_ names - stored_
statement_ relation_ names - stored_
statement_ type_ names - visit_
stored_ expression - visit_
stored_ statement_ expressions - visit_
stored_ statement_ merges - visit_
stored_ statement_ projections - Visit each select list or
RETURNINGitem of a stored statement before its expression, and each expression in the order of the other visits. - visit_
stored_ statement_ sources