diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-09-26 22:42:03 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-09-26 22:42:03 +0000 |
commit | 49856352306d1c809c425a384d2887d0f8e1d544 (patch) | |
tree | d305158a662e35e71984392ea07cdc21fa42ecfe /src/backend/executor/execMain.c | |
parent | c2e228d44ed919804728d29d87bd8accf3ec1084 (diff) | |
download | postgresql-49856352306d1c809c425a384d2887d0f8e1d544.tar.gz postgresql-49856352306d1c809c425a384d2887d0f8e1d544.zip |
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.
Diffstat (limited to 'src/backend/executor/execMain.c')
-rw-r--r-- | src/backend/executor/execMain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c index 1bfe48eaac4..1fcf2afdd91 100644 --- a/src/backend/executor/execMain.c +++ b/src/backend/executor/execMain.c @@ -26,7 +26,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.327 2009/07/29 20:56:18 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.328 2009/09/26 22:42:01 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -2925,6 +2925,7 @@ OpenIntoRel(QueryDesc *queryDesc) namespaceId, tablespaceId, InvalidOid, + InvalidOid, GetUserId(), tupdesc, NIL, |