pgsql: Aggressively freeze tables when CLUSTER or VACUUM FULL rewrites

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Aggressively freeze tables when CLUSTER or VACUUM FULL rewrites
Дата
Msg-id E1Vyohc-0005BV-0f@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix contrib/pg_upgrade to clean all the cruft made during "make
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Wrap multixact/members correctly during extension