Re: Remove redundant MemoryContextSwith in BeginCopyFrom

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Remove redundant MemoryContextSwith in BeginCopyFrom
Дата
Msg-id 783920.1642639831@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Remove redundant MemoryContextSwith in BeginCopyFrom  (Japin Li <japinli@hotmail.com>)
Ответы Re: Remove redundant MemoryContextSwith in BeginCopyFrom  (Japin Li <japinli@hotmail.com>)
Список pgsql-hackers
Japin Li <japinli@hotmail.com> writes:
> I see you have already push this patch on master (89f059bdf52), why not
> remove MemoryContextSwitchTo in the middle of BeginCopyTo in this commit?

That was a different suggestion from a different person, so I didn't
want to muddle the credit.  Also, it requires a bit of testing,
while 89f059bdf52 was visibly perfectly safe.

            regards, tom lane



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

Предыдущее
От: Japin Li
Дата:
Сообщение: Re: Remove redundant MemoryContextSwith in BeginCopyFrom
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Document atthasmissing default optimization avoids verification table scan