The following bug has been logged on the website:

Bug reference:      6412
Logged by:          Andy Grimm
Email address:      agr...@gmail.com
PostgreSQL version: 9.1.2
Operating system:   Linux (Fedora)
Description:        

When psql prompts for a password, it only reads the first 100 characters of
the password.  The limit in fe-connect.c (for when .pgpass is used) is
weirder, a seemingly arbitrary 320 bytes for all fields combined.  Other
(postgresql-jdbc, PyGreSQL, etc.) have no problem with a 512-byte password. 
It would be nice to have these limits controlled by a constant, and for the
command to give an error or warning when a password is truncated.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to