Andres Freund <andres(at)anarazel(dot)de> writes:
> Another example of complete brokenness in the wider area is catalog accesses
> happening after PROC_IN_VACUUM is set. Afaict it's entirely incorrect to do
> any catalog accesses once set, because rows that are still needed for the
> catalog access can just be removed.
That seems like a fairly untenable design rule. Maybe we should rethink
what PROC_IN_VACUUM means/is used for.
regards, tom lane