pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #5907: ODBC % bug
2+ messages / 2 participants
[nested] [flat]

* BUG #5907: ODBC % bug
@ 2011-03-02 20:06  Andrew Considine <Andrew.Considine@sncorp.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Andrew Considine @ 2011-03-02 20:06 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      5907
Logged by:          Andrew Considine
Email address:      Andrew.Considine@sncorp.com
PostgreSQL version: 9.0.1-1
Operating system:   Windows XP
Description:        ODBC % bug
Details: 

Using a password that contains a "%" symbol does not authenticate while
using the ODBC driver.  The Postgresql installer accepts this password.  The
password will even work while logging into PGAdmin.  However when connecting
through the ODBC driver from one of our C++ applications we receive the
following error:  FATAL: password authentication failed for user
"<username>".  We tested this behaviour with the "%" symbol in various
positions of the password with the same result.  Also, we tested this with
"^" which worked as it should and "&" which also worked as it should.  It
was only the usage of the "%" that failed to work properly while
authenticatin via the ODBC driver.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #5907: ODBC % bug
@ 2011-03-03 15:25  Robert Haas <robertmhaas@gmail.com>
  parent: Andrew Considine <Andrew.Considine@sncorp.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Robert Haas @ 2011-03-03 15:25 UTC (permalink / raw)
  To: Andrew Considine <Andrew.Considine@sncorp.com>; +Cc: pgsql-bugs

On Wed, Mar 2, 2011 at 3:06 PM, Andrew Considine
<Andrew.Considine@sncorp.com> wrote:
>
> The following bug has been logged online:
>
> Bug reference:      5907
> Logged by:          Andrew Considine
> Email address:      Andrew.Considine@sncorp.com
> PostgreSQL version: 9.0.1-1
> Operating system:   Windows XP
> Description:        ODBC % bug
> Details:
>
> Using a password that contains a "%" symbol does not authenticate while
> using the ODBC driver.  The Postgresql installer accepts this password.  The
> password will even work while logging into PGAdmin.  However when connecting
> through the ODBC driver from one of our C++ applications we receive the
> following error:  FATAL: password authentication failed for user
> "<username>".  We tested this behaviour with the "%" symbol in various
> positions of the password with the same result.  Also, we tested this with
> "^" which worked as it should and "&" which also worked as it should.  It
> was only the usage of the "%" that failed to work properly while
> authenticatin via the ODBC driver.

You may want to try this question on the ODBC list, if you don't get a
response here.

http://archives.postgresql.org/pgsql-odbc/

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-03-03 15:25 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-03-02 20:06 BUG #5907: ODBC % bug Andrew Considine <Andrew.Considine@sncorp.com>
2011-03-03 15:25 ` Robert Haas <robertmhaas@gmail.com>

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