Greg Smith <gsmith(at)gregsmith(dot)com> writes:
> The real question in my mind is why this turns into a bottleneck before
> the similar task of cleaning the 16MB XLOG segment does.
Because we do the latter off-line, or at least try to.
regards, tom lane