Re: tuplesort Generation memory contexts don't play nicely with index builds

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: tuplesort Generation memory contexts don't play nicely with index builds
Дата
Msg-id CA+TgmoZ=z2g3d8Rxu3uiZYoi6J3KdeJhWCVs81dGGhkYfD9Yiw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: tuplesort Generation memory contexts don't play nicely with index builds  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
On Tue, Jul 5, 2022 at 9:34 PM David Rowley <dgrowleyml@gmail.com> wrote:
> I voiced my dislike for the patch I came up with to fix this issue to
> Andres.  He suggested that I just add a version of index_form_tuple
> that can be given a MemoryContext pointer to allocate the returned
> tuple into.
>
> I like that idea much better, so I've attached a patch to fix it that way.
>
> If there are no objections, I plan to push this in the next 24 hours.

Apologies for not having looked at this thread sooner, but for what
it's worth, I think this is a fine solution.

Thanks,

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: automatically generating node support functions
Следующее
От: Nathan Bossart
Дата:
Сообщение: pg_parameter_aclcheck() and trusted extensions