Re: Text format protocol representation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Text format protocol representation
Дата
Msg-id 21139.1052884138@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Text format protocol representation  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Text format protocol representation  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> What's the rationale for not including the trailing zero byte in the
> protocol representation of the text format?

History, mostly --- we have not done it in the past.

> 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?

Those two considerations seem about a wash to me.  So I'm willing to bow
to backwards compatibility as the deciding factor.  Do you have a fourth
or fifth issue to put into the argument?
        regards, tom lane


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

Предыдущее
От: Sailesh Krishnamurthy
Дата:
Сообщение: Re: LISTEN/NOTIFY benchmarks?
Следующее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: GUC and postgresql.conf docs