aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-05-08 15:02:57 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-05-08 15:02:57 -0400
commit935e77d527a018b652f247c7374c558871210db6 (patch)
treea360b06cb0022d53f4b9a7a87cbc426561ab74f6 /src/tutorial/syscat.source
parent2d5e7b4a912d55d90c01732d318b94e4ae47027b (diff)
downloadpostgresql-935e77d527a018b652f247c7374c558871210db6.tar.gz
postgresql-935e77d527a018b652f247c7374c558871210db6.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/syscat.source')
0 files changed, 0 insertions, 0 deletions