pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lutischán Ferenc <lutischanf@gmail.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JDBC bug?
Date: Thu, 12 Feb 2009 09:11:01 +0100
Message-ID: <4993D995.6020907@gmail.com> (raw)
In-Reply-To: <Pine.BSO.4.64.0902111319350.1597@leary.csoft.net>
References: <4992EF31.8080709@gmail.com>
	<Pine.BSO.4.64.0902111319350.1597@leary.csoft.net>

Dear Kris,

Thanks for suggestion, it's working!

Regards,
    Ferenc

Kris Jurka wrotte:
>
>
> On Wed, 11 Feb 2009, Lutischán Ferenc wrote:
>
>> I found the following bug:
>> Connect to database with password that contains special chars (E.g.: 
>> Nyárfa10)  DriverManager.getConnection( dbUrl,   user,  pwd); will 
>> fail with:
>> org.postgresql.util.PSQLException: FATAL: password authentication 
>> failed for user "xy"
>>
>> jdbc driver: 8-3-603 with 8.3.6 postgresql
>> From pgadmin connection is good with 'Nyárfa10' password.
>>
>
> A change to fix this has been made to the 8.4 driver series, so you 
> will need to try the 8.4dev release.  It sends the password in UTF-8, 
> which means you must set the password when connected to a UTF-8 
> database so it gets stored that way it the database.
>
> Kris Jurka




view thread (23+ messages)

Message-ID: <4993D995.6020907@gmail.com>
Permalink:  ../4993D995.6020907@gmail.com/
Also on:    postgresql.org/message-id/4993D995.6020907@gmail.com

 · 

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: lutischanf@gmail.com, books@ejurka.com
  Subject: Re: JDBC bug?
  In-Reply-To: <4993D995.6020907@gmail.com>
  References: <4992EF31.8080709@gmail.com> <Pine.BSO.4.64.0902111319350.1597@leary.csoft.net> <4993D995.6020907@gmail.com>

* 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