Martijn van Oosterhout <kleptog@svana.org> writes:
> That's why people suggest partitions. Then you only vacuum the
> partitions that are new and the old ones never need to be touched...
This will all work a lot better once we track XID wraparound risk on a
per-table rather than per-database basis. I hope that will be done in
time for 8.2.
regards, tom lane