pgsql: A small tweak to some comments for PartitionKeyData - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: A small tweak to some comments for PartitionKeyData
Date
Msg-id E1gNQ2A-0001eS-4r@gemulon.postgresql.org
Whole thread Raw
List 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.rowley@2ndquadrant.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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Correct code comments for PartitionedRelPruneInfo struct
Next
From: Andres Freund
Date:
Subject: pgsql: Rejigger materializing and fetching a HeapTuple from a slot.