pub fn extract_plpgsql_bodies(
tree: &Tree,
source: &str,
pool: &ParserPool,
) -> Vec<InjectedRegion>Expand description
Find dollar-quoted string bodies in CREATE FUNCTION/PROCEDURE statements and parse them with the PL/pgSQL grammar.
This handles the first level of injection: SQL -> PL/pgSQL.