Skip to main content

Module parse

Module parse 

Source

Structs§

PostgresParseError
Parse failure for PostgreSQL SQL. Never panics.

Functions§

parse_postgres_expression
Parse a standalone PostgreSQL expression via SELECT <expression>.
parse_postgres_sql
Parse sql with the PostgreSQL dialect.
parse_postgres_sql_lenient
Parse sql, skipping unparseable statements instead of failing the file. Peels DO $tag$ bodies, rewrites PostgreSQL 18 GENERATED ... VIRTUAL to STORED, and strips ON DELETE SET NULL/DEFAULT column lists before parse.