diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-05-08 15:02:58 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-05-08 15:02:58 -0400 |
commit | f793effdc763381f61d592c9ec8ee8657167b7b9 (patch) | |
tree | 4a2f1aee81b9f7a41137a5cdba3f1856544fa0e0 /src/tutorial/funcs.c | |
parent | abba57b9af951242054bd9cc5ca84764c18649e6 (diff) | |
download | postgresql-f793effdc763381f61d592c9ec8ee8657167b7b9.tar.gz postgresql-f793effdc763381f61d592c9ec8ee8657167b7b9.zip |
Further patch rangetypes_selfuncs.c's statistics slot management.
Values in a STATISTIC_KIND_RANGE_LENGTH_HISTOGRAM slot are float8,
not of the type of the column the statistics are for.
This bug is at least partly the fault of sloppy specification comments
for get_attstatsslot()/free_attstatsslot(): the type OID they want is that
of the stavalues entries, not of the underlying column. (I double-checked
other callers and they seem to get this right.) Adjust the comments to be
more correct.
Per buildfarm.
Security: CVE-2017-7484
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions