aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/indexcmds.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-06-14 09:47:30 -0400
committerRobert Haas <rhaas@postgresql.org>2012-06-14 09:47:30 -0400
commitd2c86a1ccd17145eeed2377ff7930e2ccbf5869e (patch)
treea437b9dc21d0027b920e7bf297fe43a625e6ddb7 /src/backend/commands/indexcmds.c
parent7582e0be78bc031803e274d428381e0b6077b810 (diff)
downloadpostgresql-d2c86a1ccd17145eeed2377ff7930e2ccbf5869e.tar.gz
postgresql-d2c86a1ccd17145eeed2377ff7930e2ccbf5869e.zip
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.
Diffstat (limited to 'src/backend/commands/indexcmds.c')
-rw-r--r--src/backend/commands/indexcmds.c4
1 files changed, 1 insertions, 3 deletions
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)