aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-03-04 15:40:16 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2012-03-04 15:40:16 -0500
commit4fb694aebc524f2085152d8c98a85e01ef6136f4 (patch)
treefd6238a94bd517d6c81c8073f097746141af92e3 /src/backend/access/gist
parent141b89826ddb82b3afa7cf5e048d28a3d8e1c45c (diff)
downloadpostgresql-4fb694aebc524f2085152d8c98a85e01ef6136f4.tar.gz
postgresql-4fb694aebc524f2085152d8c98a85e01ef6136f4.zip
Improve histogram-filling loop in new compute_array_stats() code.
Do "frac" arithmetic in int64 to prevent overflow with large statistics targets, and improve the comments so people have some chance of understanding how it works. Alexander Korotkov and Tom Lane
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions