Re: TupleDescs and refcounts and such, again

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: TupleDescs and refcounts and such, again
Дата
Msg-id 1167247999.3783.477.camel@silverbirch.site
обсуждение исходный текст
Ответ на TupleDescs and refcounts and such, again  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: TupleDescs and refcounts and such, again  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, 2006-12-26 at 10:47 -0500, Tom Lane wrote:
> As you can probably guess, I'm leaning to #3, but wanted to see if
> anyone had an objection or a better idea.

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?

Hierarchical queries seem like they'd need something like that?

Or should we have the context of a shared context, so that the subquery
can put info somewhere where the main context can read it?

I like the idea of freeing contexts as early as possible. We might not
do that now, but we might like to in the future.

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: Bitmap index thoughts
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: pg_standby and build farm