userid bug?

From: Mikael Hammarin <mikael(dot)hammarin(at)dc(dot)etx(dot)ericsson(dot)se>
To: "'pgsql-interfaces(at)postgreSQL(dot)org'" <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: userid bug?
Date: 1998-09-15 07:48:39
Message-ID: C17EAABE11FAD1119CC80060B08798552572@CLETX08
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Mikael Hammarin 1998-09-15 10:48:49 bug
Previous Message Peter T Mount 1998-09-14 18:15:24 Re: [INTERFACES] Java threads and the JDBC driver