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 | 4509b4eb188beeea5c74a52f238127d323093113 (patch) | |
tree | 2b46ae5321b347645c4da1d6957a050f26c405cf /src/backend/access/gist/gistproc.c | |
parent | 7603952e751a3b27adae16192b59ab09f0d0ba72 (diff) | |
download | postgresql-4509b4eb188beeea5c74a52f238127d323093113.tar.gz postgresql-4509b4eb188beeea5c74a52f238127d323093113.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/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions