Skip to main content

Module compiler

Module compiler 

Source
Expand description

Lift a PostgreSQL parse tree into the internal Statement AST.

The facade exposes compilation while statement-family modules own validation and lowering. Tree-shaped SELECT/DDL/expression lowering remains in the private tree module, and PostgreSQL type interpretation remains in the private types module.

Functionsยง

compile
plan_only_for_test
Lower DROP FUNCTION / DROP PROCEDURE. Each target arrives as an ObjectWithArgs; the argument type list (when spelled) is preserved as a typed signature because routine identity includes (schema, name, argument types).