Commit fdeeb524 authored by Michael Paquier's avatar Michael Paquier

Fix typo in indexcmds.c

Introduced by 61d7c7bc.

Backpatch-through: 12
parent 15ef6ff4
...@@ -2870,7 +2870,7 @@ ReindexRelationConcurrently(Oid relationOid, int options) ...@@ -2870,7 +2870,7 @@ ReindexRelationConcurrently(Oid relationOid, int options)
/* /*
* Don't allow reindex for an invalid index on TOAST table, as * 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)) && if (IsToastNamespace(get_rel_namespace(relationOid)) &&
!get_index_isvalid(relationOid)) !get_index_isvalid(relationOid))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment