pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: A small tweak to some comments for PartitionKeyData
Date: Thu, 15 Nov 2018 22:22:46 +0000
Message-ID: <E1gNQ2A-0001eS-4r@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1gNQ2A-0001eS-4r@gemulon.postgresql.org>
Permalink:  ../E1gNQ2A-0001eS-4r@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gNQ2A-0001eS-4r@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: A small tweak to some comments for PartitionKeyData
  In-Reply-To: <E1gNQ2A-0001eS-4r@gemulon.postgresql.org>
  References: <E1gNQ2A-0001eS-4r@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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