Expand description
Routine language validation and body lowering over declared types and fresh binding inputs.
Structs§
- Routine
Compilation Context - SQLRoutine
Lowering - How a SQL routine statement is lowered from its stored syntax.
Traits§
Functions§
- bind_
analyzed_ sql_ body_ types - A successfully analyzed body keeps resolved type identities independently of its raw source. Domain coercions still resolve current constraint definitions.
- compile_
function_ body - compile_
function_ body_ for_ execution - Compile executable procedural structure without validating unreached SQL fragments.
- compile_
persisted_ function_ body - defer_
function_ body - The body
CREATE FUNCTIONcompiles undercheck_function_bodies = off: the declaration is checked as always, a SQL-standard body, which the statement itself analyzes, is compiled, and a body given as a string is left unexamined,None, for each session to compile when it first calls the routine. - lower_
sql_ routine_ statement - Lower one statement of a SQL routine body with its relations bound, before routine calls are bound.
- with_
parser_ context - Read live lexical settings only after the routine’s own configuration has been applied, and deliver parser notices even if compilation fails.