Extend the BKI infrastructure to allow system catalogs to be given

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 49856352306d1c809c425a384d2887d0f8e1d544
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-09-26T22:42:03Z
Releases: 9.0.0
Extend the BKI infrastructure to allow system catalogs to be given
hand-assigned rowtype OIDs, even when they are not "bootstrapped" catalogs
that have handmade type rows in pg_type.h.  Give pg_database such an OID.
Restore the availability of C macros for the rowtype OIDs of the bootstrapped
catalogs.  (These macros are now in the individual catalogs' .h files,
though, not in pg_type.h.)

This commit doesn't do anything especially useful by itself, but it's
necessary infrastructure for reverting some ill-considered changes in
relcache.c.

Files