Обсуждение: pgsql: Aggressively freeze tables when CLUSTER or VACUUM FULL rewrites

Поиск
Список
Период
Сортировка

pgsql: Aggressively freeze tables when CLUSTER or VACUUM FULL rewrites

От
Robert Haas
Дата:
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(-)