postgresql/src
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
..
backend Do some minor code refactoring in preparation for changing the APIs of 2009-05-12 00:56:05 +00:00
bin Adjust pg_dumpall so that it emits ENCODING, LC_COLLATE, and LC_CTYPE options 2009-05-10 02:51:44 +00:00
include Do some minor code refactoring in preparation for changing the APIs of 2009-05-12 00:56:05 +00:00
interfaces Fix ecpg tests for change that disallowed Unicode literals unless 2009-05-06 03:22:15 +00:00
makefiles Allow out-of-tree builds on mingw and cygwin 2009-01-05 09:27:20 +00:00
pl Fix plpgsql's EXIT so that an EXIT without a label only matches a loop, 2009-05-02 17:27:57 +00:00
port Update no longer current comments in header. 2009-05-04 09:30:06 +00:00
template Tweak configure to attempt to add -qnoansialias to CFLAGS whenever running 2009-02-11 20:02:40 +00:00
test Modify CREATE DATABASE to enforce that the source database's encoding setting 2009-05-06 16:15:21 +00:00
timezone Update time zone data files to tzdata release 2009e: DST law changes in 2009-04-09 20:50:42 +00:00
tools Add missing third argument to open(). 2009-05-08 14:06:27 +00:00
tutorial Update copyright for 2009. 2009-01-01 17:24:05 +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
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Add the possibility to specify an explicit validator function for foreign-data 2009-02-24 10:06:36 +00:00
Makefile.global.in Add an implicit rule %.c -> %.i for running the C preprocessor. 2009-02-19 10:32:30 +00:00
Makefile.shlib Allow out-of-tree builds on mingw and cygwin 2009-01-05 09:27:20 +00:00
nls-global.mk Do not msgmerge against /dev/null; merge against the pot file itself 2009-01-20 09:58:50 +00:00
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00