Re: Text format protocol representation - Mailing list pgsql-hackers

From Bruce Badger
Subject Re: Text format protocol representation
Date
Msg-id 1052873653.31993.11.camel@wally
Whole thread Raw
In response to Text format protocol representation  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: GUC and postgresql.conf docs
Next
From: Peter Eisentraut
Date:
Subject: Re: [INTERFACES] Last round (I think) of FE/BE protocol changes