pgsql: Fix typo in freeze_table_age implementation

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Fix typo in freeze_table_age implementation
Дата
Msg-id E1U1IJf-0008S5-BR@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix typo in freeze_table_age implementation

The original code used freeze_min_age instead of freeze_table_age.  The
main consequence of this mistake is that lowering freeze_min_age would
cause full-table scans to occur much more frequently, which causes
serious issues because the number of writes required is much larger.
That feature (freeze_min_age) is supposed to affect only how soon tuples
are frozen; some pages should still be skipped due to the visibility
map.

Backpatch to 8.4, where the freeze_table_age feature was introduced.

Report and patch from Andres Freund

Branch
------
REL9_1_STABLE

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

Modified Files
--------------
src/backend/commands/vacuum.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix typo in freeze_table_age implementation
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix typo in freeze_table_age implementation