Heikki Linnakangas <heikki(at)enterprisedb(dot)com> writes:
> A much simpler approach would be to try to acquire the vacuum lock, and
> compact the page the usual way, and fall back to a cold update if we
> can't get the lock immediately.
Seems like that could work.
> I'm looking for ways to make the patch simpler and less invasive.
+1 on that, for sure.
regards, tom lane