diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-11-21 22:57:00 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-11-21 22:57:00 +0000 |
commit | 294c34bb9d8e253c3d8b0e0271e776fb0a992150 (patch) | |
tree | 18282d0d66bc288524822c7576a9baafed78e091 /src/backend/utils/adt/arrayutils.c | |
parent | 7f1711f29dd6e44753d5845f707bda5fac6166a0 (diff) | |
download | postgresql-294c34bb9d8e253c3d8b0e0271e776fb0a992150.tar.gz postgresql-294c34bb9d8e253c3d8b0e0271e776fb0a992150.zip |
Fix rounding problem in dynahash.c's decision about when the target
fill factor has been exceeded. We usually run with ffactor == 1, but
the way the test was coded, it wouldn't split a bucket until the actual
fill factor reached 2.0, because of use of integer division. Change
from > to >= so that it will split more aggressively when the table
starts to get full.
Diffstat (limited to 'src/backend/utils/adt/arrayutils.c')
0 files changed, 0 insertions, 0 deletions