Re: TupleDescs and refcounts and such, again

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TupleDescs and refcounts and such, again
Дата
Msg-id 25290.1167260707@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: TupleDescs and refcounts and such, again  ("Simon Riggs" <simon@2ndquadrant.com>)
Ответы Re: TupleDescs and refcounts and such, again  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-hackers
"Simon Riggs" <simon@2ndquadrant.com> writes:
> Is it possible to allocate the subquery in a child context of the main
> query, so that it is technically a different context, yet can be freed
> simultaneously?

That's exactly what the code *was* doing, but the problem is that we'd
free the child context during ExecEndSubqueryScan, at which point the
tupdesc is still needed.
        regards, tom lane


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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: Load distributed checkpoint
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Per-database search_path