PostgreSQL Query Evaluation (cont)
pg_parse_query(char *sqlStatements)
- defined in
src/backend/tcop/postgres.c
- returns list of parse trees, one for each SQL statement
pg_analyze_and_rewrite(Node *parsetree, ...)
- defined in
src/backend/tcop/postgres.c
- converts parsed queries into form suitable for planning
|