pgsql: A small tweak to some comments for PartitionKeyData

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: A small tweak to some comments for PartitionKeyData
Дата
Msg-id E1gNQ2A-0001eS-4r@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Correct code comments for PartitionedRelPruneInfo struct
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Rejigger materializing and fetching a HeapTuple from a slot.