Re: TupleDesc and HeapTuple - Mailing list pgsql-general

From Luca Ferrari
Subject Re: TupleDesc and HeapTuple
Date
Msg-id 201007071343.04806.fluca1978@infinito.it
Whole thread Raw
In response to Re: TupleDesc and HeapTuple  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: TupleDesc and HeapTuple  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general
On Tuesday, July 06, 2010 09:58:45 pm Alvaro Herrera's cat walking on the
keyboard wrote:
> You're supposed to know which relation you got the HeapTuple from, so
> you get the TupleDesc from there.

True, but if I want to pass the heaptuple around I must pass also its tuple
desc, or the receiver will not know how the tuple is composed. Maybe this case
never happens/happened.

Luca

pgsql-general by date:

Previous
From: venkat
Date:
Subject: Re: [SQL] How to Get Column Names from the Table
Next
From: Martin Below
Date:
Subject: optimizer choosing the wrong index