Re: domain_in performance considerations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: domain_in performance considerations
Дата
Msg-id 17798.1144332777@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: domain_in performance considerations  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> This is a shot in the dark, but I remember you commenting awhile back
> that there was a way to register a callback to be called on memory
> context reset or delete.

AFAIR there's no such thing associated with memory contexts per se.
There is one for EStates, but that requires access to an outer EState,
which is exactly what we lack for the other solution too.

I wonder though if we shouldn't invent one for memory contexts.  Maybe
even replace the EState-specific shutdown callback with mcontext cleanup
on its query context?
        regards, tom lane


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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Windows installer bugs (was: [BUGS] BUG #2374: Installation Error)
Следующее
От: Tony Caduto
Дата:
Сообщение: Re: Windows installer bugs (was: [BUGS] BUG #2374: Installation