DETOASTing in custom memory context

From: strk <strk(at)keybit(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us
Subject: DETOASTing in custom memory context
Date: 2003-10-27 17:23:12
Message-ID: 20031027182312.A50921@freek.keybit.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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;

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thiago Fernandes Moesch 2003-10-27 17:52:16 When the last vacuum occured? It's necessary to run it now?
Previous Message Moshe Vardi 2003-10-27 17:17:37 Deadlock Detection