diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2013-02-01 12:00:40 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2013-02-01 12:00:40 -0300 |
commit | dd1569da67937b819d1589a9f664af9aa9657945 (patch) | |
tree | 8628c47282c1d4710584074efe954e9d8a8802f8 /src/backend/access/gist/gistutil.c | |
parent | 9ee00ef4c7de991b9371f614ce9c03ff436ce383 (diff) | |
download | postgresql-dd1569da67937b819d1589a9f664af9aa9657945.tar.gz postgresql-dd1569da67937b819d1589a9f664af9aa9657945.zip |
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
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions