|
|
|
@ -8,7 +8,7 @@ |
|
|
|
* |
|
|
|
* |
|
|
|
* |
|
|
|
* |
|
|
|
* IDENTIFICATION |
|
|
|
* IDENTIFICATION |
|
|
|
* $PostgreSQL: pgsql/src/backend/utils/cache/relcache.c,v 1.230.2.4 2006/11/05 23:40:38 tgl Exp $ |
|
|
|
* $PostgreSQL: pgsql/src/backend/utils/cache/relcache.c,v 1.230.2.5 2008/02/27 17:44:41 tgl Exp $ |
|
|
|
* |
|
|
|
* |
|
|
|
*------------------------------------------------------------------------- |
|
|
|
*------------------------------------------------------------------------- |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -2239,7 +2239,10 @@ RelationCacheInitializePhase2(void) |
|
|
|
|
|
|
|
|
|
|
|
#define LOAD_CRIT_INDEX(indexoid) \ |
|
|
|
#define LOAD_CRIT_INDEX(indexoid) \ |
|
|
|
do { \
|
|
|
|
do { \
|
|
|
|
ird = RelationBuildDesc((indexoid), NULL); \
|
|
|
|
ird = RelationBuildDesc(indexoid, NULL); \
|
|
|
|
|
|
|
|
if (ird == NULL) \
|
|
|
|
|
|
|
|
elog(PANIC, "could not open critical system index %u", \
|
|
|
|
|
|
|
|
indexoid); \
|
|
|
|
ird->rd_isnailed = true; \
|
|
|
|
ird->rd_isnailed = true; \
|
|
|
|
ird->rd_refcnt = 1; \
|
|
|
|
ird->rd_refcnt = 1; \
|
|
|
|
} while (0) |
|
|
|
} while (0) |
|
|
|
|