pgsql: Aggressively freeze tables when CLUSTER or VACUUM FULL rewrites

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Aggressively freeze tables when CLUSTER or VACUUM FULL rewrites
Date: 2014-01-02 20:17:12
Message-ID: E1Vyohc-0005BV-0f@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3cff1879f8d03cb729368722ca823a4bf74c0cac

Modified Files
--------------
doc/src/sgml/ref/vacuum.sgml | 4 +++-
src/backend/access/heap/rewriteheap.c | 2 +-
src/backend/commands/cluster.c | 42 +++++++++++++--------------------
src/backend/commands/vacuum.c | 3 +--
src/include/commands/cluster.h | 2 +-
5 files changed, 22 insertions(+), 31 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2014-01-02 21:40:49 pgsql: Wrap multixact/members correctly during extension
Previous Message Tom Lane 2014-01-02 19:20:43 pgsql: Fix contrib/pg_upgrade to clean all the cruft made during "make