Thread: userid bug?

userid bug?

From
Mikael Hammarin
Date:
Hello all!

Trying to connect with psql using -u to get username/pw auth
doesn't seem to work very well:

<-snip->
cletx06:~# psql -u
Username: claimsmngt
Password: xx

Connection to database 'claimsmn' failed.
FATAL 1:  Database claimsmn does not exist in pg_database

cletx06:~# psql -d claimdb -u
Username: claimsmngt
Password: xx

Connection to database 'claimdb' failed.
FATAL 1:  SetUserId: user 'claimsmn' is not in 'pg_shadaw'
<-snip->

While using only -u, psql tries to connect to a database with
the same name as the username you use to authenticate.  Perhaps
it's the right behavior, <what-do-i-know>, but the problem
is that the maximum length seems to be 8 characters.  Why?

Just to add another stupid question:  To whom are the bugreports
supposed to go?

Regards,
Mike