Re: Text format protocol representation

Поиск
Список
Период
Сортировка
От Bruce Badger
Тема Re: Text format protocol representation
Дата
Msg-id 1052873653.31993.11.camel@wally
обсуждение исходный текст
Ответ на Text format protocol representation  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Wed, 2003-05-14 at 08:47, Peter Eisentraut wrote:
> What's the rationale for not including the trailing zero byte in the
> protocol representation of the text format?  The output functions of data
> types generate one, and the client most likely wants one, so it seems
> unreasonable that the protocol cuts it out and the client has to put it
> back.  Is the bandwidth saved worth the extra computation?

I maintain the Smalltalk PostgreSQL driver.  Smalltalk does not require
special terminator characters in Strings, so for me, if the extra
character gets added to the end, I have to strip it off.

So, why expend badwidth *and* computation on this?  :-)



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

Предыдущее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: GUC and postgresql.conf docs
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [INTERFACES] Last round (I think) of FE/BE protocol changes