postgresql/src/backend/optimizer/util
Tom Lane 46379d6e60 Separate parse-analysis for utility commands out of parser/analyze.c
(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).
2007-06-23 22:12:52 +00:00
..
clauses.c Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
joininfo.c Restructure code that is responsible for ensuring that clauseless joins are 2007-02-16 00:14:01 +00:00
Makefile Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
pathnode.c Teach tuplesort.c about "top N" sorting, in which only the first N tuples 2007-05-04 01:13:45 +00:00
plancat.c Change build_index_pathkeys() so that the expressions it builds to represent 2007-05-31 16:57:34 +00:00
predtest.c Improve predicate_refuted_by_simple_clause() to handle IS NULL and IS NOT NULL 2007-05-12 19:22:35 +00:00
relnode.c Some further performance tweaks for planning large inheritance trees that 2007-04-21 21:01:45 +00:00
restrictinfo.c Put back planner's ability to cache the results of mergejoinscansel(), 2007-01-22 20:00:40 +00:00
tlist.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
var.c Support UPDATE/DELETE WHERE CURRENT OF cursor_name, per SQL standard. 2007-06-11 01:16:30 +00:00