commands/index.c: Fix assertion typo

pull/2903/head
Philip Dubé 2019-08-21 18:54:05 +00:00
parent f0a79800d2
commit 7bf7e41594
1 changed files with 2 additions and 2 deletions

View File

@ -190,8 +190,8 @@ ErrorIfReindexOnDistributedTable(ReindexStmt *ReindexStatement)
return;
}
Assert(ReindexStatement->relkind == REINDEX_OBJECT_INDEX ||
ReindexStatement->relkind == REINDEX_OBJECT_TABLE);
Assert(ReindexStatement->kind == REINDEX_OBJECT_INDEX ||
ReindexStatement->kind == REINDEX_OBJECT_TABLE);
/*
* XXX: Consider using RangeVarGetRelidExtended with a permission