Aggregate detoasted arguments lifetime - Mailing list pgsql-hackers

From strk
Subject Aggregate detoasted arguments lifetime
Date
Msg-id 20031027142624.A49271@freek.keybit.net
Whole thread Raw
Responses Re: Aggregate detoasted arguments lifetime
List pgsql-hackers
Dear pg-hackers,

Making an aggregate I want to stuff all input values (detoasted)
in an array and process them all togheter with finalfunc.

This is because in order to process them a conversion is involved
and I'm trying to reduce the number of conversions to the lowest
possible.

My question is: if I write in the "state" array
pointers to DETOASTED input args,
will I find them intact at finalfunc time ?

TIA

--strk;


pgsql-hackers by date:

Previous
From: Shridhar Daithankar
Date:
Subject: Duplicating transaction information in indexes and performing in memory vacuum
Next
From: Jan Wieck
Date:
Subject: Re: Still a few flaws in configure's default CFLAGS selection