Re: modifying a TupleTableSlot - Mailing list pgsql-hackers

From Tom Lane
Subject Re: modifying a TupleTableSlot
Date
Msg-id 19352.1099532731@sss.pgh.pa.us
Whole thread Raw
In response to modifying a TupleTableSlot  ("Hicham G. Elmongui" <elmongui@cs.purdue.edu>)
List pgsql-hackers
"Hicham G. Elmongui" <elmongui@cs.purdue.edu> writes:
> If I have a TupleTableSlot, and I need to obtain another TupleTableSlot with
> a different TupleDesc (same fields but different order). Is there a way to
> do it without that I go myself and try to retrieve the fields and form the
> tuple myself? In other words, are there functions already in postgres that I
> can use together to reach this?

The CVS-tip junkfilter code is a reasonable prototype for this.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Hicham G. Elmongui"
Date:
Subject: modifying a TupleTableSlot
Next
From: Robert Treat
Date:
Subject: Re: UPDATE is not allowed in a non-volatile function