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

Поиск
Список
Период
Сортировка
От Andreas Zeugswetter
Тема AW: [HACKERS] questionable codes in libpq/backend communication
Дата
Msg-id 01BD7D8B.86C474F0@zeugswettera.user.lan.at
обсуждение исходный текст
Список pgsql-hackers
> 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Jose' Soares Da Silva"
Дата:
Сообщение: Re: [HACKERS] money or dollar type
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] money or dollar type