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

From David Rowley
Subject A small tweak to some comments for PartitionKeyData
Date
Msg-id CAKJS1f9mRdrvfZP-_PG-UoM30Dmj9HLnfrbOdLmAE=6fB8b1VA@mail.gmail.com
Whole thread Raw
Responses Re: A small tweak to some comments for PartitionKeyData  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Re: A small tweak to some comments for PartitionKeyData  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
While doing a bit of work on a partitioning patch I noticed that it's
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 I think
it's worthwhile to mention how they should be used in the comments.

Patch attached.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [PATCH] Tab complete EXECUTE FUNCTION for CREATE (EVENT) TRIGGER
Next
From: Amit Langote
Date:
Subject: Re: A small tweak to some comments for PartitionKeyData