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 <[email protected]> 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(-)
