Re: encoding of PostgreSQL messages - Mailing list pgsql-general

From Hiroshi Inoue
Subject Re: encoding of PostgreSQL messages
Date
Msg-id 498ECF00.607@tpf.co.jp
Whole thread Raw
In response to Re: encoding of PostgreSQL messages  (Bruce Momjian <bruce@momjian.us>)
List pgsql-general
Peter Eisentraut wrote:
> Bruce Momjian wrote:
>> Can someone comment on this?
>
> Looks like a horrible hack to me.  Recoding stuff to the client encoding
> in the server outside the existing recoding mechanism looks pretty evil
> to me.

 > Plus, it does not address the problem of what happens to
> messages sent before this, it just moves the point of "before" a bit
> earlier for some special cases.
>
> I think we have discussed more proper solutions earlier in this thread.
>  IMO the best approach would be for the client to include the client
> encoding in the startup package.

??? My patch exactly references the client_encoding included in
  the startup message.

regards,
Hiroshi Inoue

pgsql-general by date:

Previous
From: rhubbell
Date:
Subject: Re: Pet Peeves?
Next
From: Iñigo Barandiaran
Date:
Subject: Re: Install Postgre while installing Other software.