> My question is why the data length is "strlen(outputstr) +
> VARHDRSZ", not just strlen(outputstr). 

I also think that this is a little annoying, but there seems to be no 
easy way out, since all user code has a reference to VARHDRSZ.
Therefore all existing code would need to be ported. Since I don't
have lots of C code I would vote for doing this, but what would
those with lots of code say :( ?

Andreas

PS: Maybe some good macros for users would be good to hide VARHDRSZ



Tue, 12 May 1998 09:51:12 +0200
Andreas Zeugswetter <andreas.zeugswetter@telecom.at>
AW: [HACKERS] questionable codes in libpq/backend communication