aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2007-05-18 23:19:42 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2007-05-18 23:19:42 +0000
commitb40776d22185423f57e32b9c9fcac2326fdb4fde (patch)
tree83d0340dbd1a8d98500dcda119a04c9d0f555ae1 /src/backend/utils/adt/xml.c
parent2f1bf8248a15a7be88c7a6de202976584e53c1ad (diff)
downloadpostgresql-b40776d22185423f57e32b9c9fcac2326fdb4fde.tar.gz
postgresql-b40776d22185423f57e32b9c9fcac2326fdb4fde.zip
Have CLUSTER advance the table's relfrozenxid. The new frozen point is the
FreezeXid introduced in a recent commit, so there isn't any data loss in this approach. Doing it causes ALTER TABLE (or rather, the forms of it that cause a full table rewrite) to be affected as well. In this case, the frozen point is RecentXmin, because after the rewrite all the tuples are relabeled with the rewriting transaction's Xid. TOAST tables are fixed automatically as well, as fallout of the way they were already being handled in the respective code paths. With this patch, there is no longer need to VACUUM tables for Xid wraparound purposes that have been cleaned up via TRUNCATE or CLUSTER.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions