Re: Request for comment on setting binary format output per session - Mailing list pgsql-hackers

From Dave Cramer
Subject Re: Request for comment on setting binary format output per session
Date
Msg-id CADK3HHK5mkci80CYmVnR4dMPfKRhuAjx-ny2xx7F9GqjTwFwBQ@mail.gmail.com
Whole thread Raw
In response to Re: Request for comment on setting binary format output per session  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
If I recall the protocol-extension design correctly, such a setting
could only be set at session start, which could be annoying --- at the
very least we'd have to tolerate entries for unrecognized data types,
since clients couldn't be expected to have checked the list against
the current server in advance.

The protocol extension design has the drawback that it can only be set at startup. 
What if we were to allow changes to the setting after startup if the client passed the cancel key as a unique identifier that only the driver would know?
 
Dave Cramer




pgsql-hackers by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Request for comment on setting binary format output per session
Next
From: Ranier Vilela
Date:
Subject: Re: Avoid use deprecated Windows Memory API