AW: [HACKERS] questionable codes in libpq/backend communication

Поиск
Список
Период
Сортировка
Искать

AW: [HACKERS] questionable codes in libpq/backend communication

От:
Andreas Zeugswetter <andreas.zeugswetter@telecom.at>
Дата:
> 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


FAQ