Re: [HACKERS] Proposal: Local indexes for partitioned table - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Proposal: Local indexes for partitioned table
Date
Msg-id 10310.1509736144@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Proposal: Local indexes for partitioned table  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Tom Lane wrote:
>> It might work to build the new key in a context that's initially a
>> child of CurrentMemoryContext, then reparent it to be a child of
>> CacheMemoryContext when done. 

> That's another way (than the PG_TRY block), but I think it's more
> complicated with no gain.

I disagree: PG_TRY blocks are pretty expensive.
        regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Where is it documented what role executes constraint triggers?
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Small improvement to compactify_tuples