userid bug? - Mailing list pgsql-interfaces

From Mikael Hammarin
Subject userid bug?
Date
Msg-id C17EAABE11FAD1119CC80060B08798552572@CLETX08
Whole thread Raw
List pgsql-interfaces
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

pgsql-interfaces by date:

Previous
From: Peter T Mount
Date:
Subject: Re: [INTERFACES] Java threads and the JDBC driver
Next
From: Mikael Hammarin
Date:
Subject: bug