pgsql: Replace hardcoded 200000000 with autovacuum_freeze_max_age

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Replace hardcoded 200000000 with autovacuum_freeze_max_age
Дата
Msg-id E1VmZ0a-0008Gz-Tt@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Replace hardcoded 200000000 with autovacuum_freeze_max_age

Parts of the code used autovacuum_freeze_max_age to determine whether
anti-multixact-wraparound vacuums are necessary, while others used a
hardcoded 200000000 value.  This leads to problems when
autovacuum_freeze_max_age is set to a non-default value.  Use the latter
everywhere.

Backpatch to 9.3, where vacuuming of multixacts was introduced.

Andres Freund

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/76a31c689c627268067175b5d0687ce0dac9a4f4

Modified Files
--------------
src/backend/access/transam/multixact.c |   12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix full-table-vacuum request mechanism for MultiXactIds
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix a couple of bugs in MultiXactId freezing