pgsql: A small tweak to some comments for PartitionKeyData

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: A small tweak to some comments for PartitionKeyData
Date: 2018-11-15 22:22:46
Message-ID: E1gNQ2A-0001eS-4r@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

A small tweak to some comments for PartitionKeyData

It was not really that obvious that there's meant to be exactly 1 item
in the partexprs List for each zero-valued partattrs element. Some
incorrect code using these fields was the cause of CVE-2018-1052, so
it's worthwhile to mention how they should be used in the comments.

Author: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7ac0069fb880b9b64223f104058c82773321851c

Modified Files
--------------
src/include/utils/partcache.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-11-15 22:39:02 pgsql: Rejigger materializing and fetching a HeapTuple from a slot.
Previous Message Peter Eisentraut 2018-11-15 22:13:00 pgsql: Correct code comments for PartitionedRelPruneInfo struct