Re: [GENERAL] TupleDesc and HeapTuple

2010-07-07 Thread Pavel Stehule
2010/7/7 Luca Ferrari : > 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 i

Re: [GENERAL] TupleDesc and HeapTuple

2010-07-07 Thread Luca Ferrari
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

Re: [GENERAL] TupleDesc and HeapTuple

2010-07-06 Thread Alvaro Herrera
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

[GENERAL] TupleDesc and HeapTuple

2010-07-06 Thread Luca Ferrari
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? Thanks, Luca -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make change