Hi,
I am having trouble with fixing my code for this recent varlena patch:

http://archives.postgresql.org/pgsql-committers/2007-04/msg00081.php

My module is fulldisjunctions.
I have several problems but first i wish to address the following.
This is an excerpt from my code:
newtset->tids = (bytea *) fastgetattr(tupleTSet, LABELS_ALIGNED, 
fctx->tupleSetDesc, &isnull);

It seems that for an empty bytea (only the size of the header), i get that 
VARSIZE(newtset->tids)==534765440
instead of VARHDRSZ.

What can i do?
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 2: Don't 'kill -9' the postmaster

Reply via email to