Mark Rostron <mrostron@ql2.com> writes:
> When the XID wraps, at the moment it does so, unless you set
> vacuum_freeze_min_age to 0 and a vacuum has just been performed, is
> there not a chance that there will be some data loss?
No. XID comparisons are modulo 2^31.
regards, tom lane