"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