postgresql/src/backend
Tom Lane da07596006 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
2017-05-08 15:03:14 -04:00
..
access Prevent panic during shutdown checkpoint 2017-05-05 10:31:42 -04:00
bootstrap Use one transaction while reading postgres.bki, not one per line. 2017-04-14 17:51:25 -04:00
catalog Match pg_user_mappings limits to information_schema.user_mapping_options. 2017-05-08 07:24:24 -07:00
commands Check connection info string in ALTER SUBSCRIPTION 2017-05-08 14:01:00 -04:00
executor Fire per-statement triggers on partitioned tables. 2017-05-01 08:23:01 -04:00
foreign Abstract logic to allow for multiple kinds of child rels. 2017-04-03 22:41:31 -04:00
lib Support hashed aggregation with grouping sets. 2017-03-27 04:20:54 +01:00
libpq Remove support for password_encryption='off' / 'plain'. 2017-05-08 11:26:07 +03:00
main Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
nodes Fire per-statement triggers on partitioned tables. 2017-05-01 08:23:01 -04:00
optimizer Reduce semijoins with unique inner relations to plain inner joins. 2017-05-01 14:53:42 -04:00
parser Remove support for password_encryption='off' / 'plain'. 2017-05-08 11:26:07 +03:00
po Translation updates 2016-08-08 11:08:00 -04:00
port Provide a way to control SysV shmem attach address in EXEC_BACKEND builds. 2017-04-15 17:27:38 -04:00
postmaster Fix off-by-one possibly leading to skipped XLOG_RUNNING_XACTS records. 2017-05-06 16:55:07 -07:00
regex Fix regexport.c to behave sanely with lookaround constraints. 2017-04-13 17:18:35 -04:00
replication Fix statistics reporting in logical replication workers 2017-05-08 12:10:22 -04:00
rewrite RLS: Fix ALL vs. SELECT+UPDATE policy usage 2017-05-06 21:46:35 -04:00
snowball Add ICU_FLAGS to one more place 2017-03-23 16:53:10 -04:00
statistics extstats: change output functions to emit valid JSON 2017-05-02 18:49:32 -03:00
storage Cope with glibc too old to have epoll_create1(). 2017-04-27 17:13:53 -04:00
tcop Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
tsearch Full Text Search support for json and jsonb 2017-03-31 14:26:03 -04:00
utils Further patch rangetypes_selfuncs.c's statistics slot management. 2017-05-08 15:03:14 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
common.mk ICU support 2017-03-23 15:28:48 -04:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00