"Aleksis Petrov" <a(dot)aleksis(at)gmail(dot)com> writes:
> The other solution could be to not update the indexes at all (just REINDEX
> it). But this does'nt seem to fit in with the current implementation of
> repair_frag() function.
Considerably more to the point: what happens if VACUUM fails partway
through (ie, before it can complete the reindexing)?
regards, tom lane