diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-03-04 15:40:16 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-03-04 15:40:16 -0500 |
commit | 4fb694aebc524f2085152d8c98a85e01ef6136f4 (patch) | |
tree | fd6238a94bd517d6c81c8073f097746141af92e3 /src/backend/utils/adt/array_selfuncs.c | |
parent | 141b89826ddb82b3afa7cf5e048d28a3d8e1c45c (diff) | |
download | postgresql-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/utils/adt/array_selfuncs.c')
0 files changed, 0 insertions, 0 deletions