Re: TupleDescs and refcounts and such, again

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: TupleDescs and refcounts and such, again
Date: 2006-12-27 19:33:18
Message-ID: 1167247999.3783.477.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-12-27 19:49:41 Re: psql display of Unicode combining characters in 8.2
Previous Message Tom Lane 2006-12-27 19:30:10 pgindent infelicity