Re: JDBC Default Encoding - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: JDBC Default Encoding
Date
Msg-id 18202.1178037265@sss.pgh.pa.us
Whole thread Raw
In response to Re: JDBC Default Encoding  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Kris Jurka <books@ejurka.com> writes:
> I'm not sure when the server applies
> our setting of client_encoding.

Immediately after switch scanning in PostgresMain, assuming you're
sending it the way I think.  This is before the backend subprocess
attempts to verify the database or user name ... however, this is
after authentication (pg_hba.conf processing) so there's quite a
variety of failure messages that would be sent in the postmaster's
default encoding, whatever that might be.  I'm afraid there's not
any really clean answer there.

            regards, tom lane

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: JDBC Default Encoding
Next
From: "Badawy, Mohamed"
Date:
Subject: connection variables problem