DETOASTing in custom memory context - Mailing list pgsql-hackers

From strk
Subject DETOASTing in custom memory context
Date
Msg-id 20031027182312.A50921@freek.keybit.net
Whole thread Raw
Responses Re: DETOASTing in custom memory context  (strk <strk@keybit.net>)
List pgsql-hackers
Tom, thanks again for the quick answer and
sorry for the lame question about memor allocation.

I hope this is acceptable:
Is there a way to make PG_DETOAST_DATUM and friends allocate
memory in a custom memory context ?

Right now I'm DETOASTing, memcopying in a custom context
and pfreeing the DETOASTed datum, I'd like to avoid one
copy.

TIA.
--strk;


pgsql-hackers by date:

Previous
From: endoid
Date:
Subject: An interisting conundrum where tables have a column called "found"
Next
From: Tom Lane
Date:
Subject: Re: Timestamp docs weirdness