postgresql/src/backend
Tom Lane eab6b8b27e Turn the rangetable used by the executor into a flat list, and avoid storing
useless substructure for its RangeTblEntry nodes.  (I chose to keep using the
same struct node type and just zero out the link fields for unneeded info,
rather than making a separate ExecRangeTblEntry type --- it seemed too
fragile to have two different rangetable representations.)

Along the way, put subplans into a list in the toplevel PlannedStmt node,
and have SubPlan nodes refer to them by list index instead of direct pointers.
Vadim wanted to do that years ago, but I never understood what he was on about
until now.  It makes things a *whole* lot more robust, because we can stop
worrying about duplicate processing of subplans during expression tree
traversals.  That's been a constant source of bugs, and it's finally gone.

There are some consequent simplifications yet to be made, like not using
a separate EState for subplans in the executor, but I'll tackle that later.
2007-02-22 22:00:26 +00:00
..
access btree source code cleanups: 2007-02-21 20:02:17 +00:00
bootstrap Remove useless database name from bootstrap argument processing (including 2007-02-16 02:10:07 +00:00
catalog Fix up foreign-key mechanism so that there is a sound semantic basis for the 2007-02-14 01:58:58 +00:00
commands Turn the rangetable used by the executor into a flat list, and avoid storing 2007-02-22 22:00:26 +00:00
executor Turn the rangetable used by the executor into a flat list, and avoid storing 2007-02-22 22:00:26 +00:00
lib Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
libpq Code review for SSLKEY patch. 2007-02-16 17:07:00 +00:00
main Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
nodes Turn the rangetable used by the executor into a flat list, and avoid storing 2007-02-22 22:00:26 +00:00
optimizer Turn the rangetable used by the executor into a flat list, and avoid storing 2007-02-22 22:00:26 +00:00
parser Turn the rangetable used by the executor into a flat list, and avoid storing 2007-02-22 22:00:26 +00:00
po Translation updates 2006-12-02 01:16:16 +00:00
port Fix typo in comment. 2007-02-06 16:20:23 +00:00
postmaster Code review for SSLKEY patch. 2007-02-16 17:07:00 +00:00
regex Wording cleanup for error messages. Also change can't -> cannot. 2007-02-01 19:10:30 +00:00
rewrite Wording cleanup for error messages. Also change can't -> cannot. 2007-02-01 19:10:30 +00:00
storage btree source code cleanups: 2007-02-21 20:02:17 +00:00
tcop Remove the Query structure from the executor's API. This allows us to stop 2007-02-20 17:32:18 +00:00
utils Turn the rangetable used by the executor into a flat list, and avoid storing 2007-02-22 22:00:26 +00:00
Makefile Replace useless uses of := by = in makefiles. 2007-02-09 15:56:00 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00