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 15ef6ff4b9
commit fdeeb524b4

View File

@ -2870,7 +2870,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))