| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера