Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 3FA60632D10 for ; Thu, 12 Feb 2009 04:11:24 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 03120-07 for ; Thu, 12 Feb 2009 04:11:20 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-fx0-f15.google.com (mail-fx0-f15.google.com [209.85.220.15]) by mail.postgresql.org (Postfix) with ESMTP id 73645632C0E for ; Thu, 12 Feb 2009 04:11:10 -0400 (AST) Received: by fxm8 with SMTP id 8so445767fxm.19 for ; Thu, 12 Feb 2009 00:11:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ImYkF7CFfJ/R3c06mNzvD/vUhTMGyd9cdcoNhFM5X0s=; b=RqOtKYQ5woZ8Gs61Of6mjcMcsbNFqODUHtBI5PHyLcaInO0FV7AmqRX51JY5PFMVf8 3zJjIiV21pzgnIvA5COfUNET6vUprtin6727p2l95xGPN7rb1Lr9k1cPgHtPfDRcATON +OrxUPw2IFkIkfUrFjuPkYYnmF9fMVz5RYCuY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=XJLIeuBS7WTieZO6LlWmmQcjadxXwy4VESuSTjFyRqhOU3UDPBifEg61lUc2tDMDny pzn0+cUFmtUqDnWZ4xoY3R7heTfBZ/f4TAddbiSAjNf/25cdLCTnivF1WuOgesLCFqMV fkHxGYbocrFZfX93/cXGB3fYxdkDNSWs7Q7bk= Received: by 10.86.59.18 with SMTP id h18mr1240168fga.57.1234426268850; Thu, 12 Feb 2009 00:11:08 -0800 (PST) Received: from ?94.27.212.73? (gprs5e1bd449.pool.t-umts.hu [94.27.212.73]) by mx.google.com with ESMTPS id l12sm811299fgb.41.2009.02.12.00.11.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 12 Feb 2009 00:11:08 -0800 (PST) Message-ID: <4993D995.6020907@gmail.com> Date: Thu, 12 Feb 2009 09:11:01 +0100 From: =?ISO-8859-2?Q?Lutisch=E1n_Ferenc?= User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Kris Jurka CC: pgsql-jdbc@postgresql.org Subject: Re: JDBC bug? References: <4992EF31.8080709@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200902/23 X-Sequence-Number: 19298 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