postgresql/src
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
..
backend Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
bin In psql, when running a SELECT query using a cursor, flush the query 2007-06-22 01:09:28 +00:00
include Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
interfaces Applied patch by Joachim to enable checktcp again 2007-06-15 08:23:52 +00:00
makefiles Add $(CFLAGS) to the simplified build rule for .so libraries on Darwin. 2006-11-28 05:45:43 +00:00
pl Fix up text concatenation so that it accepts all the reasonable cases that 2007-06-06 23:00:50 +00:00
port Silence mingw compiler warning 2007-04-18 08:32:40 +00:00
template Make --with-ldap build on Unixware, per Olivier Prenant. 2006-12-14 21:49:54 +00:00
test Arrange for quote_identifier() and pg_dump to not quote keywords that are 2007-06-18 21:40:58 +00:00
timezone Make some messages more consistent 2007-05-31 15:13:06 +00:00
tools Quiet warnings about redefined PGPORT macros for MSVC. 2007-06-20 17:19:00 +00:00
tutorial Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 2007-02-27 23:48:10 +00:00
DEVELOPERS Testing commit stuff 2006-07-10 15:50:02 +00:00
Makefile Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
Makefile.global.in Contrib module uuid-ossp for generating UUID values using the OSSP UUID 2007-04-21 17:26:18 +00:00
Makefile.shlib Change $(CC) to $(COMPILER) on Solaris gcc so -m64 is passed into the 2007-02-20 22:45:57 +00:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00:00
nls-global.mk When merging PO files, take into consideration translations in other PO 2006-04-05 13:40:15 +00:00
win32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00:00