aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/enum.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2013-02-01 12:00:40 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2013-02-01 12:11:33 -0300
commit406758fd5d472e8eec93d145b860f3553dc60563 (patch)
treeef25b06e8d4f6d01ad76f0edd17abb3b777d5ac5 /src/backend/utils/adt/enum.c
parentd1bdb35a989f1b45962c7a83372e00a71c8e6b49 (diff)
downloadpostgresql-406758fd5d472e8eec93d145b860f3553dc60563.tar.gz
postgresql-406758fd5d472e8eec93d145b860f3553dc60563.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/utils/adt/enum.c')
0 files changed, 0 insertions, 0 deletions