Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Cool. I wonder if the exact figure should be
> min(lowest non-frozen Xid in table, GetOldestXmin(false))
Actually just min(lowest Xid in table, RecentXmin). You only need to be
sure there are no running transactions older than what you put into the
field; their xmins are not at issue.
> Also, in light of this, it seems a bad idea to use the name "freezexid"
> for the pg_class column; I would name it relminxid or something like
> that (suggestions welcome).
Works for me.
regards, tom lane