Re: Obsolete comment in partbounds.c

Поиск
Список
Период
Сортировка
От Etsuro Fujita
Тема Re: Obsolete comment in partbounds.c
Дата
Msg-id CAPmGK16syixbm8vLfx-+L8QAzGe_rq5YQvjPJAKRKEO+wFhokQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Obsolete comment in partbounds.c  (Etsuro Fujita <etsuro.fujita@gmail.com>)
Ответы Re: Obsolete comment in partbounds.c  (Amit Langote <amitlangote09@gmail.com>)
Список pgsql-hackers
On Sat, Oct 19, 2019 at 5:56 PM Etsuro Fujita <etsuro.fujita@gmail.com> wrote:
> On Fri, Oct 18, 2019 at 6:56 PM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> > On 2019-Oct-18, Etsuro Fujita wrote:
> > > While reviewing the partitionwise-join patch, I noticed $Subject,ie,
> > > this in create_list_bounds():
> > >
> > >                 /*
> > >                  * Never put a null into the values array, flag instead for
> > >                  * the code further down below where we construct the actual
> > >                  * relcache struct.
> > >                  */
> > >                 if (null_index != -1)
> > >                     elog(ERROR, "found null more than once");
> > >                 null_index = i;
> > >
> > > "the code further down below where we construct the actual relcache
> > > struct" isn't in the same file anymore by refactoring by commit
> > > b52b7dc25.  How about modifying it like the attached?
> >
> > Yeah, agreed.  Instead of "the null comes from" I would use "the
> > partition that stores nulls".
>
> I think your wording is better than mine.  Thank you for reviewing!

I applied the patch down to PG12.

Best regards,
Etsuro Fujita



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Fix comment in XLogFileInit()
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: dropdb --force