pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kris Jurka <books@ejurka.com>
Cc: Altaf Malik <mmalik_altaf@yahoo.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JDBC Default Encoding
Date: Tue, 01 May 2007 12:34:25 -0400
Message-ID: <18202.1178037265@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.BSO.4.64.0705011200340.25632@leary.csoft.net>
References: <380653.13890.qm@web39107.mail.mud.yahoo.com>
	<Pine.BSO.4.64.0705011200340.25632@leary.csoft.net>

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



view thread (3+ messages)

Message-ID: <18202.1178037265@sss.pgh.pa.us>
Permalink:  ../18202.1178037265@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18202.1178037265@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, books@ejurka.com, mmalik_altaf@yahoo.com
  Subject: Re: JDBC Default Encoding
  In-Reply-To: <18202.1178037265@sss.pgh.pa.us>
  References: <380653.13890.qm@web39107.mail.mud.yahoo.com> <Pine.BSO.4.64.0705011200340.25632@leary.csoft.net> <18202.1178037265@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox