Re: TupleDesc and HeapTuple

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Luca Ferrari <fluca1978(at)infinito(dot)it>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: TupleDesc and HeapTuple
Date: 2010-07-06 19:58:45
Message-ID: 1278446285-sup-7045@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message gabrielle 2010-07-06 22:57:02 OSCON booth staffing
Previous Message Andy Colson 2010-07-06 19:43:12 make view with union return one record