Hari Bhaskaran <hbhaskaran(at)gmail(dot)com> writes:
> Why does pg_autovacuum need locks on more than one table at a time?
It doesn't --- unless maybe you are considering system catalogs, in
which case I'd wonder why you need exclusive lock on a catalog.
If you can prove the contrary, let's see a test case.
regards, tom lane