From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix typo in freeze_table_age implementation |
Date: | 2013-02-01 15:14:11 |
Message-ID: | E1U1IJf-0008S1-8U@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/dd1569da67937b819d1589a9f664af9aa9657945
Modified Files
--------------
src/backend/commands/vacuum.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2013-02-01 17:25:04 | Re: pgsql: Fill tuple before HeapSatisfiesHOTAndKeyUpdate |
Previous Message | Alvaro Herrera | 2013-02-01 13:50:02 | pgsql: Fill tuple before HeapSatisfiesHOTAndKeyUpdate |