missing tuplestore_gettuple

Started by Tzahi Fadidaover 19 years ago2 messages
#1Tzahi Fadida
Tzahi.ML@gmail.com

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Tzahi Fadida (#1)
Re: missing tuplestore_gettuple

Tzahi Fadida <Tzahi.ML@gmail.com> 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