Fix typo in indexcmds.c

Introduced by 61d7c7b.

Backpatch-through: 12
This commit is contained in:
Michael Paquier 2020-03-18 11:13:12 +09:00
parent e58e13e846
commit c5b6b9c0d7
1 changed files with 1 additions and 1 deletions

View File

@ -2901,7 +2901,7 @@ ReindexRelationConcurrently(Oid relationOid, int options)
/*
* Don't allow reindex for an invalid index on TOAST table, as
* if rebuild it would not be possible to drop it.
* if rebuilt it would not be possible to drop it.
*/
if (IsToastNamespace(get_rel_namespace(relationOid)) &&
!get_index_isvalid(relationOid))