Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Can we rework REINDEX TABLE so that it processes each index on its own
> transaction?
It still wouldn't be guaranteed deadlock-free. There might be fewer
cases, but whether it would help Dave's particular case is just
speculation when we don't know what that case is.
regards, tom lane