mirror of
https://github.com/postgres/postgres.git
synced 2026-02-03 20:40:14 -05:00
(which now deals only in optimizable statements), and put that code into a new file parser/parse_utilcmd.c. This helps clarify and enforce the design rule that utility statements shouldn't be processed during the regular parse analysis phase; all interpretation of their meaning should happen after they are given to ProcessUtility to execute. (We need this because we don't retain any locks for a utility statement that's in a plan cache, nor have any way to detect that it's stale.) We are also able to simplify the API for parse_analyze() and related routines, because they will now always return exactly one Query structure. In passing, fix bug #3403 concerning trying to add a serial column to an existing temp table (this is largely Heikki's work, but we needed all that restructuring to make it safe). |
||
|---|---|---|
| .. | ||
| analyze.h | ||
| gramparse.h | ||
| keywords.h | ||
| parse_agg.h | ||
| parse_clause.h | ||
| parse_coerce.h | ||
| parse_expr.h | ||
| parse_func.h | ||
| parse_node.h | ||
| parse_oper.h | ||
| parse_relation.h | ||
| parse_target.h | ||
| parse_type.h | ||
| parse_utilcmd.h | ||
| parser.h | ||
| parsetree.h | ||
| scansup.h | ||