parent
e58e13e846
commit
c5b6b9c0d7
|
@ -2901,7 +2901,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))
|
||||||
|
|
Loading…
Reference in New Issue