| От | Tom Lane |
|---|---|
| Тема | Re: [BUGS] Postgres bug (working with iserverd) |
| Дата | |
| Msg-id | 29814.989903854@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [BUGS] Postgres bug (working with iserverd) ("Vadim Mikheev" <vmikheev@sectorbase.com>) |
| Список | pgsql-hackers |
"Vadim Mikheev" <vmikheev@sectorbase.com> writes:
>> However, EvalPlanQual still leaks more memory than suits me ---
>> auxiliary memory allocated by the plan nodes is not recovered.
> Isn't plan shutdown supposed to free memory?
Yeah, but it leaks all over the place; none of the plan node types
bother to free their state nodes, for example. There are lots of other
cases. You really have to reset the per-query context to get rid of all
the cruft allocated during ExecInitNode.
> How subselects run queries again and again?
They don't end and restart them; they just rescan them. If we had
this substitute-a-new-tuple hack integrated into the Param mechanism,
then EvalPlanQual could use ExecReScan too, but at the moment no...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера