]> granicus.if.org Git - postgresql/commit
Aggressively freeze tables when CLUSTER or VACUUM FULL rewrites them.
authorRobert Haas <rhaas@postgresql.org>
Thu, 2 Jan 2014 20:09:21 +0000 (15:09 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 2 Jan 2014 20:15:51 +0000 (15:15 -0500)
commit3cff1879f8d03cb729368722ca823a4bf74c0cac
tree7d7a6e2b6500dfb6801e33cf9b5da752f6d5d31c
parent4cf81b737d5bb5f695671479c427c78f95c82119
Aggressively freeze tables when CLUSTER or VACUUM FULL rewrites them.

We haven't wanted to do this in the past on the grounds that in rare
cases the original xmin value will be needed for forensic purposes, but
commit 37484ad2aacef5ec794f4dd3d5cf814475180a78 removes that objection,
so now we can.

Per extensive discussion, among many people, on pgsql-hackers.
doc/src/sgml/ref/vacuum.sgml
src/backend/access/heap/rewriteheap.c
src/backend/commands/cluster.c
src/backend/commands/vacuum.c
src/include/commands/cluster.h