Re: TupleDesc and HeapTuple - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: TupleDesc and HeapTuple
Date
Msg-id 1278446285-sup-7045@alvh.no-ip.org
Whole thread Raw
In response to TupleDesc and HeapTuple  (Luca Ferrari <fluca1978@infinito.it>)
Responses Re: TupleDesc and HeapTuple
List pgsql-general
Excerpts from Luca Ferrari's message of mar jul 06 02:53:03 -0400 2010:
> Hi,
> I don't see any direct link between the TupleDesc structure and the HeapTuple
> one, and it seems strange to me since to manipulate a tuple you often need the
> descriptor. What is the trick here?

You're supposed to know which relation you got the HeapTuple from, so
you get the TupleDesc from there.

pgsql-general by date:

Previous
From: Andy Colson
Date:
Subject: make view with union return one record
Next
From: gabrielle
Date:
Subject: OSCON booth staffing