diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-05-08 15:02:57 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-05-08 15:03:14 -0400 |
commit | da0759600664439238fe25fa84b1f0059bfdcdd6 (patch) | |
tree | a7a9e9c350e9459c9c613f825543937bb4a980df /src/backend/commands/trigger.c | |
parent | fe974cc5a69903e9f53b36d6e2709fd3de0a1ac7 (diff) | |
download | postgresql-da0759600664439238fe25fa84b1f0059bfdcdd6.tar.gz postgresql-da0759600664439238fe25fa84b1f0059bfdcdd6.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/commands/trigger.c')
0 files changed, 0 insertions, 0 deletions