Re: Passing CopyMultiInsertInfo structure to CopyMultiInsertInfoNextFreeSlot()

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Passing CopyMultiInsertInfo structure to CopyMultiInsertInfoNextFreeSlot()
Дата
Msg-id CAKJS1f-A5aYvPHe10Wy9LjC4RzLsBrya8b2gfuQHFabhwZT_NQ@mail.gmail.com
обсуждение исходный текст
Ответ на Passing CopyMultiInsertInfo structure to CopyMultiInsertInfoNextFreeSlot()  (Ashutosh Sharma <ashu.coek88@gmail.com>)
Ответы Re: Passing CopyMultiInsertInfo structure to CopyMultiInsertInfoNextFreeSlot()  (Ashutosh Sharma <ashu.coek88@gmail.com>)
Список pgsql-hackers
On Mon, 13 May 2019 at 23:20, Ashutosh Sharma <ashu.coek88@gmail.com> wrote:
> In the latest PostgreSQL code, I could see that we are passing CopyMultiInsertInfo structure to
CopyMultiInsertInfoNextFreeSlot()although it is not being used anywhere in that function. Could you please let me know
ifit has been done intentionally or it is just an overlook that needs to be corrected. AFAIU,
CopyMultiInsertInfoNextFreeSlot()is just intended to return the next free slot available in the multi insert buffer and
wealready have that buffer stored in ResultRelInfo structure which is also being passed to that function so not sure
whatcould be the purpose of passing CopyMultiInsertInfo structure as well. Please let me know if i am missing something
here.Thank you. 

There's likely no good reason for that. The attached removes it.

--
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PANIC :Call AbortTransaction when transaction id is no normal
Следующее
От: Kuntal Ghosh
Дата:
Сообщение: Re: PANIC :Call AbortTransaction when transaction id is no normal