diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-08-22 02:41:58 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-08-22 02:41:58 +0000 |
commit | f009c316ba49857249611bc0d578c518c449879e (patch) | |
tree | 4fbab4d7068969dced2e698735407b1ffca38075 /src/tutorial/funcs.c | |
parent | 37d937ea2c062093887e6aa03879166b6db06900 (diff) | |
download | postgresql-f009c316ba49857249611bc0d578c518c449879e.tar.gz postgresql-f009c316ba49857249611bc0d578c518c449879e.zip |
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.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions