Merge pull request #2903 from citusdata/fix_assertion_error_in_2900

commands/index.c: Fix assertion typo
pull/2904/head
Philip Dubé 2019-08-21 19:57:23 +00:00 committed by GitHub
commit 4bbea6e3d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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