Re: modifying a TupleTableSlot

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Hicham G(dot) Elmongui" <elmongui(at)cs(dot)purdue(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: modifying a TupleTableSlot
Date: 2004-11-04 01:45:31
Message-ID: 19352.1099532731@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Hicham G. Elmongui" <elmongui(at)cs(dot)purdue(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2004-11-04 01:50:13 Re: pg_autovacuum is nice ... but ...
Previous Message Tom Lane 2004-11-04 01:40:01 Re: [HACKERS] Possible make_oidjoins_check Security Issue