Tweak code so that pg_subtrans is never consulted for XIDs older than

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f009c316ba49857249611bc0d578c518c449879e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-08-22T02:41:58Z
Releases: 8.0.0
Tweak code so that pg_subtrans is never consulted for XIDs older than
RecentXmin (== MyProc->xmin).  This ensures that it will be safe to
truncate pg_subtrans at RecentGlobalXmin, which should largely eliminate
any fear of bloat.  Along the way, eliminate SubTransXidsHaveCommonAncestor,
which isn't really needed and could not give a trustworthy result anyway
under the lookback restriction.
In an unrelated but nearby change, #ifdef out GetUndoRecPtr, which has
been dead code since 2001 and seems unlikely to ever be resurrected.

Files