[HACKERS] Update comment in ExecPartitionCheck

Поиск
Список
Период
Сортировка
От Etsuro Fujita
Тема [HACKERS] Update comment in ExecPartitionCheck
Дата
Msg-id 61e213a1-6996-4dee-2210-53798df625a3@lab.ntt.co.jp
обсуждение исходный текст
Ответы Re: [HACKERS] Update comment in ExecPartitionCheck  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Re: [HACKERS] Update comment in ExecPartitionCheck  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
This comment in an error handling in ExecPartitionCheck():

     if (!ExecCheck(resultRelInfo->ri_PartitionCheckExpr, econtext))
     {
         char       *val_desc;
         Relation    orig_rel = rel;

         /* See the comment above. */
         if (resultRelInfo->ri_PartitionRoot)

should be updated because we don't have any comment on that above in the 
code.  Since we have a comment on that in ExecConstraints() defined just 
below that function, I think the comment should be something like this: 
"See the comment in ExecConstraints().".  Attached is a patch for that.

Best regards,
Etsuro Fujita

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

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

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: [HACKERS] UPDATE of partition key
Следующее
От: Amit Langote
Дата:
Сообщение: Re: [HACKERS] UPDATE of partition key