Re: [bug fix] multibyte messages are displayed incorrectly on the client - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [bug fix] multibyte messages are displayed incorrectly on the client
Date
Msg-id CA+Tgmob8en1Dkk1c=REQEq8GVLKP0ts-=Q9siKcC_RpiYSERTA@mail.gmail.com
Whole thread Raw
In response to Re: [bug fix] multibyte messages are displayed incorrectly on the client  ("MauMau" <maumau307@gmail.com>)
Responses Re: [bug fix] multibyte messages are displayed incorrectly on the client  ("MauMau" <maumau307@gmail.com>)
Re: [bug fix] multibyte messages are displayed incorrectly on the client  ("MauMau" <maumau307@gmail.com>)
List pgsql-hackers
On Tue, Jan 7, 2014 at 8:56 AM, MauMau <maumau307@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



pgsql-hackers by date:

Previous
From: Rugal Bernstein
Date:
Subject: Re: preproc.c compilation error
Next
From: "MauMau"
Date:
Subject: Re: Standalone synchronous master