Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 1046C62E522 for ; Wed, 21 Apr 2010 13:18:53 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 22989-03 for ; Wed, 21 Apr 2010 16:18:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pv0-f174.google.com (mail-pv0-f174.google.com [74.125.83.174]) by mail.postgresql.org (Postfix) with ESMTP id 13963632588 for ; Wed, 21 Apr 2010 13:18:41 -0300 (ADT) Received: by pvg13 with SMTP id 13so919641pvg.19 for ; Wed, 21 Apr 2010 09:18:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=pfi9sqK++SMYpZe38vhOGoXYPZAUseblSdQJ2ovHQbI=; b=p2b+1Y/mK7WR00OsQ4Pvw1WZuWQ/tKlOT8BiwZUi82BpRRSQhA4dNPgsHNlFizvhCv AvWh0aRY3Te/YzAM+hZck5DIPoVjmftgLsr/VgJLMir+MiiuBz+FJveHz2h5dn9cXMa9 NcggA68gDbt6bxbMC2tWyojOSruuK4r0TfKps= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=cMMryknz7rEtCS280lnFba/RFX5hhV6KXg+351D57WldIytcNB9rpENY8P4Ib2m/zi DgoK8QFTAdSSJTJSIlq1e0Lj6Trv9MnIp3OQGlVNipWl0CnHVyRXZySPbf6I7Bb37Q2M 5xdaXZZ4pCJbrkZk3l7GSvqN6Kc2Ih+0DJr5Y= MIME-Version: 1.0 Received: by 10.231.206.197 with HTTP; Wed, 21 Apr 2010 09:18:40 -0700 (PDT) In-Reply-To: <23571.1271861903@sss.pgh.pa.us> References: <8844.1271809392@sss.pgh.pa.us> <10484.1271812681@sss.pgh.pa.us> <4BCE7ABC.8030502@gmail.com> <23571.1271861903@sss.pgh.pa.us> Date: Wed, 21 Apr 2010 09:18:40 -0700 Received: by 10.142.208.14 with SMTP id f14mr3906305wfg.298.1271866720809; Wed, 21 Apr 2010 09:18:40 -0700 (PDT) Message-ID: Subject: Re: Authentication failed when Password contains Japaneese Charecters From: Shivender Devarakonda To: Tom Lane Cc: Ader Javier , pgsql-jdbc@postgresql.org Content-Type: multipart/alternative; boundary=000e0cd29c8018724b0484c18c68 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201004/57 X-Sequence-Number: 20468 --000e0cd29c8018724b0484c18c68 Content-Type: text/plain; charset=ISO-8859-1 I did not get you on this. My DB cmdb is in UTF-8 already, do I still need to change the password and test it? I tried to use ALTER USER to change the password, for some reason the sql command is not displaying the japaneese charecter properly and I tried using the buffer file but the buffer file was default to ANSI format and it is not accepting UTF-8 format.. any thoughts? Thanks, Shivender On Wed, Apr 21, 2010 at 7:58 AM, Tom Lane wrote: > Shivender Devarakonda writes: > > I set the following property in postgresql.conf: > > client_encoding = UTF-8 # actually, defaults to database > > That would not help if you were connecting to a database with SQL_ASCII > encoding (which defeats all encoding intelligence). I'd suggest > connecting to cmdb with psql and issuing an ALTER USER command to > set the user's password again. > > regards, tom lane > --000e0cd29c8018724b0484c18c68 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I did not get you on this. My DB cmdb is in UTF-8 already, do I still = need to change the password and test it?
=A0
I tried to use ALTER USER to change the password, for some reason the = sql command is not displaying the japaneese charecter properly and I tried = using the buffer file but the buffer file was default to ANSI format and it= is not accepting UTF-8 format..
=A0
any thoughts?
=A0
Thanks,
Shivender

On Wed, Apr 21, 2010 at 7:58 AM, Tom Lane <tgl@sss.pgh.pa.us&= gt; wrote:
Shivender Devarakonda <shivenderd@gmail.com> writes:
> I set the following p= roperty =A0in postgresql.conf:
> client_encoding =3D UTF-8 =A0# actua= lly, defaults to database

That would not help if you were connecting to a database with SQL= _ASCII
encoding (which defeats all encoding intelligence). =A0I'd su= ggest
connecting to cmdb with psql and issuing an ALTER USER command to<= br> set the user's password again.

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0regards, tom lane

--000e0cd29c8018724b0484c18c68--