postgresql/src/include/optimizer
Tom Lane 0ada559187 Do some minor code refactoring in preparation for changing the APIs of
find_inheritance_children() and find_all_inheritors().  I got annoyed that
these are buried inside the planner but mostly used elsewhere.  So, create
a new file catalog/pg_inherits.c and put them there, along with a couple
of other functions that search pg_inherits.

The code that modifies pg_inherits is (still) in tablecmds.c --- it's
kind of entangled with unrelated code that modifies pg_depend and other
stuff, so pulling it out seemed like a bigger change than I wanted to make
right now.  But this file provides a natural home for it if anyone ever
gets around to that.

This commit just moves code around; it doesn't change anything, except
I succumbed to the temptation to make a couple of trivial optimizations
in typeInheritsFrom().
2009-05-12 00:56:05 +00:00
..
clauses.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
cost.h Create a third option named "partition" for constraint_exclusion, and make it 2009-01-07 22:40:49 +00:00
geqo.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
geqo_copy.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
geqo_gene.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
geqo_misc.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
geqo_mutation.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
geqo_pool.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
geqo_random.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
geqo_recombination.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
geqo_selection.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
joininfo.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
pathnode.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
paths.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
placeholder.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
plancat.h Do some minor code refactoring in preparation for changing the APIs of 2009-05-12 00:56:05 +00:00
planmain.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
planner.h Arrange for function default arguments to be processed properly in expressions 2009-01-09 15:46:11 +00:00
predtest.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
prep.h Do some minor code refactoring in preparation for changing the APIs of 2009-05-12 00:56:05 +00:00
restrictinfo.h Fix cost_nestloop and cost_hashjoin to model the behavior of semi and anti 2009-05-09 22:51:41 +00:00
subselect.h Get rid of the rather fuzzily defined FlattenedSubLink node type in favor of 2009-02-25 03:30:38 +00:00
tlist.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
var.h Fix estimate_num_groups() to not fail on PlaceHolderVars, per report from 2009-04-19 19:46:33 +00:00