From d2c86a1ccd17145eeed2377ff7930e2ccbf5869e Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Thu, 14 Jun 2012 09:47:30 -0400 Subject: Remove RELKIND_UNCATALOGED. This may have been important at some point in the past, but it no longer does anything useful. Review by Tom Lane. --- src/backend/commands/indexcmds.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/backend/commands/indexcmds.c') diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c index a68d500e5b4..1f9bf618904 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -378,9 +378,7 @@ DefineIndex(RangeVar *heapRelation, relationId = RelationGetRelid(rel); namespaceId = RelationGetNamespace(rel); - /* Note: during bootstrap may see uncataloged relation */ - if (rel->rd_rel->relkind != RELKIND_RELATION && - rel->rd_rel->relkind != RELKIND_UNCATALOGED) + if (rel->rd_rel->relkind != RELKIND_RELATION) { if (rel->rd_rel->relkind == RELKIND_FOREIGN_TABLE) -- cgit v1.2.3