Re: A small tweak to some comments for PartitionKeyData

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Re: A small tweak to some comments for PartitionKeyData
Дата
Msg-id c619df7e-fbf3-6362-63cc-9871d8f0e7eb@lab.ntt.co.jp
обсуждение исходный текст
Ответ на A small tweak to some comments for PartitionKeyData  (David Rowley <david.rowley@2ndquadrant.com>)
Ответы Re: A small tweak to some comments for PartitionKeyData
Список pgsql-hackers
On 2018/10/25 12:43, David Rowley wrote:
> 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.

Good idea.

+                                 * key, one for each zero-valued partattrs */

How about: for each zero-valued member of partattrs?

Regards,
Amit




В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: A small tweak to some comments for PartitionKeyData
Следующее
От: David Rowley
Дата:
Сообщение: Re: A small tweak to some comments for PartitionKeyData