On Tue, Jan 7, 2014 at 8:56 AM, MauMau <maumau...@gmail.com> wrote:
> I suppose we know (or at least believe) those encodings during backend
> startup:
>
> * client encoding - the client_encoding parameter passed in the startup
> packet, or if that's not present, client_encoding GUC value.
>
> * server encoding - the encoding of strings gettext() returns.  That is what
> GetPlatformEncoding() returns.

Suppose the startup packet itself is malformed.  How will you report the error?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to