Skip site navigation (1) Skip section navigation (2)

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: bug
Date: 1998-09-15 10:48:49
Message-ID: C17EAABE11FAD1119CC80060B08798552573@CLETX08 (view raw or flat)
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

pgsql-interfaces by date

Next:From: Greg YoungbloodDate: 1998-09-15 18:00:13
Subject: Problems with queries on small/medium sized tables
Previous:From: Mikael HammarinDate: 1998-09-15 07:48:39
Subject: userid bug?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group