Re: Obsolete comment in ExecInsert()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Obsolete comment in ExecInsert()
Дата
Msg-id 3946130.1664376141@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Obsolete comment in ExecInsert()  (Etsuro Fujita <etsuro.fujita@gmail.com>)
Ответы Re: Obsolete comment in ExecInsert()  (Etsuro Fujita <etsuro.fujita@gmail.com>)
Список pgsql-hackers
Etsuro Fujita <etsuro.fujita@gmail.com> writes:
> I think the “or a tuple has come for a different relation than that
> for the accumulated tuples" part in the comment is a leftover from an
> earlier version of the patch [1].  As the code shows, we do not handle
> that case anymore, so I think we should remove that part from the
> comment.  Attached is a patch for that.

+1, but what remains still seems awkwardly worded.  How about something
like "When we've reached the desired batch size, perform the insertion"?

            regards, tom lane



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

Предыдущее
От: Melih Mutlu
Дата:
Сообщение: Re: Summary function for pg_buffercache
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Move backup-related code to xlogbackup.c/.h