From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jadhav, Manadeep (BHGE) <Manadeep.Jadhav@bhge.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Cc: Periyaswamy, Balakrishnan (BHGE, Non-GE) <balakrishnan.periyaswamy@bhge.com>
Cc: Sabale, Sachin (BHGE) <Sachin.Sabale@bhge.com>
Cc: Kapoor, Chandan I (BHGE) <chandan.kapoor@bhge.com>
Subject: Re: Issue while non-english character in userid and password
Date: Thu, 17 Jan 2019 10:19:32 -0500
Message-ID: <13121.1547738372@sss.pgh.pa.us> (raw)
In-Reply-To: <PS1P101MB00255D25F80BC507FA868A0B94830@PS1P101MB0025.NAMP101.PROD.OUTLOOK.COM>
References: <PS1P101MB00255D25F80BC507FA868A0B94830@PS1P101MB0025.NAMP101.PROD.OUTLOOK.COM>
"Jadhav, Manadeep (BHGE)" <Manadeep.Jadhav@bhge.com> writes:
> We are using postgres server install on windows 7 32 bit machine in Spanish and for database username and password we have used non-English character í, with this userid and password we are able to connect the database but when we try to run the backup for same db using pg_dump utility it fails saying error as "password authentication failed". Please let us know how can we handle this issue.
If you use characters outside the base ASCII set in user or database names
or passwords, it's up to you to ensure that those characters are always
sent the same way in connection requests. Postgres can't do any encoding
conversion on connection requests since it doesn't know what character set
the client is using. Presumably what's happening here is that the backup
script isn't running with the same code page you used when creating the
password.
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, Manadeep.Jadhav@bhge.com, balakrishnan.periyaswamy@bhge.com, Sachin.Sabale@bhge.com, chandan.kapoor@bhge.com
Subject: Re: Issue while non-english character in userid and password
In-Reply-To: <13121.1547738372@sss.pgh.pa.us>
References: <PS1P101MB00255D25F80BC507FA868A0B94830@PS1P101MB0025.NAMP101.PROD.OUTLOOK.COM> <13121.1547738372@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