pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Further patch rangetypes_selfuncs.c's statistics slot management
5+ messages / 1 participants
[nested] [flat]

* pgsql: Further patch rangetypes_selfuncs.c's statistics slot management
@ 2017-05-08 19:03  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2017-05-08 19:03 UTC (permalink / raw)
  To: pgsql-committers

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

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f793effdc763381f61d592c9ec8ee8657167b7b9

Modified Files
--------------
src/backend/utils/adt/rangetypes_selfuncs.c | 14 ++++++++------
src/backend/utils/cache/lsyscache.c         | 11 ++++++-----
src/include/catalog/pg_statistic.h          |  2 +-
3 files changed, 15 insertions(+), 12 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Further patch rangetypes_selfuncs.c's statistics slot management
@ 2017-05-08 19:03  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2017-05-08 19:03 UTC (permalink / raw)
  To: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/da0759600664439238fe25fa84b1f0059bfdcdd6

Modified Files
--------------
src/backend/utils/adt/rangetypes_selfuncs.c | 14 ++++++++------
src/backend/utils/cache/lsyscache.c         |  9 +++++----
src/include/catalog/pg_statistic.h          |  2 +-
3 files changed, 14 insertions(+), 11 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Further patch rangetypes_selfuncs.c's statistics slot management
@ 2017-05-08 19:03  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2017-05-08 19:03 UTC (permalink / raw)
  To: pgsql-committers

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

Branch
------
REL9_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/417c9ce2695ec0f716eeff30013979587313bdc1

Modified Files
--------------
src/backend/utils/adt/rangetypes_selfuncs.c | 14 ++++++++------
src/backend/utils/cache/lsyscache.c         | 11 ++++++-----
src/include/catalog/pg_statistic.h          |  2 +-
3 files changed, 15 insertions(+), 12 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Further patch rangetypes_selfuncs.c's statistics slot management
@ 2017-05-08 19:03  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2017-05-08 19:03 UTC (permalink / raw)
  To: pgsql-committers

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

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/935e77d527a018b652f247c7374c558871210db6

Modified Files
--------------
src/backend/utils/adt/rangetypes_selfuncs.c | 14 ++++++++------
src/backend/utils/cache/lsyscache.c         | 11 ++++++-----
src/include/catalog/pg_statistic.h          |  2 +-
3 files changed, 15 insertions(+), 12 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Further patch rangetypes_selfuncs.c's statistics slot management
@ 2017-05-08 19:03  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2017-05-08 19:03 UTC (permalink / raw)
  To: pgsql-committers

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

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4509b4eb188beeea5c74a52f238127d323093113

Modified Files
--------------
src/backend/utils/adt/rangetypes_selfuncs.c | 14 ++++++++------
src/backend/utils/cache/lsyscache.c         | 11 ++++++-----
src/include/catalog/pg_statistic.h          |  2 +-
3 files changed, 15 insertions(+), 12 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2017-05-08 19:03 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-05-08 19:03 pgsql: Further patch rangetypes_selfuncs.c's statistics slot management Tom Lane <tgl@sss.pgh.pa.us>
2017-05-08 19:03 pgsql: Further patch rangetypes_selfuncs.c's statistics slot management Tom Lane <tgl@sss.pgh.pa.us>
2017-05-08 19:03 pgsql: Further patch rangetypes_selfuncs.c's statistics slot management Tom Lane <tgl@sss.pgh.pa.us>
2017-05-08 19:03 pgsql: Further patch rangetypes_selfuncs.c's statistics slot management Tom Lane <tgl@sss.pgh.pa.us>
2017-05-08 19:03 pgsql: Further patch rangetypes_selfuncs.c's statistics slot management Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox