[HACKERS] missing tuplestore_gettuple

2006-07-18 Thread Tzahi Fadida
Hi,
In 8.2 the function tuplestore_gettuple in tuplestore.h is either missing or 
deprecated? can someone shed some light on this?
(it appears in the tuplestore.c file and there is no deprecation warning 
there)
10x.


-- 
Regards,
Tzahi.
--
Tzahi Fadida
Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info
WARNING TO SPAMMERS:  see at 
http://members.lycos.co.uk/my2nis/spamwarning.html

---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org


Re: [HACKERS] missing tuplestore_gettuple

2006-07-18 Thread Tom Lane
Tzahi Fadida [EMAIL PROTECTED] writes:
 In 8.2 the function tuplestore_gettuple in tuplestore.h is either missing or 
 deprecated? can someone shed some light on this?

You need to switch to using tuplestore_gettupleslot.  Note that what
comes back won't have any system columns, because the sort code now
stores MinimalTuples instead of complete HeapTuples.

regards, tom lane

---(end of broadcast)---
TIP 9: In versions below 8.0, the planner will ignore your desire to
   choose an index scan if your joining column's datatypes do not
   match