]> granicus.if.org Git - postgresql/commit
A small tweak to some comments for PartitionKeyData
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 15 Nov 2018 22:22:19 +0000 (23:22 +0100)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 15 Nov 2018 22:22:19 +0000 (23:22 +0100)
commit7ac0069fb880b9b64223f104058c82773321851c
treea58998275164d1cd5da511ead371a13a7af89794
parent52d8e899d0f0849f9dfc61a9f93ba857a8431216
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>
src/include/utils/partcache.h