Re: MemoryContextCreate change in PG 11 how should contexts becreated

Поиск
Список
Период
Сортировка
От David Steele
Тема Re: MemoryContextCreate change in PG 11 how should contexts becreated
Дата
Msg-id 03838ea4-7264-5f9e-ca0e-6df2822d793f@pgmasters.net
обсуждение исходный текст
Ответ на Re: MemoryContextCreate change in PG 11 how should contexts be created  (Paul Ramsey <pramsey@cleverelephant.ca>)
Список pgsql-hackers
On 12/19/17 10:11 AM, Paul Ramsey wrote:
> On Tue, Dec 19, 2017 at 7:00 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Paul Ramsey <pramsey@cleverelephant.ca> writes:
> 
> If I'm reading right, using MemoryContextRegisterResetCallback on a
> AllocSetContext created under our PortalContext should do the trick,
> with less direct mucking about into the internals of contexts.

Be aware that this function is only available in PostgreSQL >= 9.5.

Regards,
-- 
-David
david@pgmasters.net


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

Предыдущее
От: Paul Ramsey
Дата:
Сообщение: Re: MemoryContextCreate change in PG 11 how should contexts be created
Следующее
От: Robert Haas
Дата:
Сообщение: Re: access/parallel.h lacks PGDLLIMPORT