Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.5]) by hub.org (8.8.8/8.7.5) with ESMTP id GAA10113 for ; Tue, 15 Sep 1998 06:48:50 -0400 (EDT) Received: from cletx06.dc.etx.ericsson.se (root@cletx06.dc.etx.ericsson.se [130.100.69.7]) by penguin.wise.edt.ericsson.se (8.9.0/8.9.0/glacier-1.11) with ESMTP id MAA18226 for ; Tue, 15 Sep 1998 12:48:45 +0200 (MET DST) Received: from cletx08.dc.etx.ericsson.se (cletx08.dc.etx.ericsson.se [130.100.69.2]) by cletx06.dc.etx.ericsson.se (8.8.8/8.8.8/eri-dom-0.9) with ESMTP id LAA05490 for ; Tue, 15 Sep 1998 11:44:28 +0200 Received: by CLETX08 with Internet Mail Service (5.5.1960.3) id <32CK4YCQ>; Tue, 15 Sep 1998 12:48:50 +0200 Message-ID: From: Mikael Hammarin To: "'pgsql-interfaces@postgreSQL.org'" Subject: bug Date: Tue, 15 Sep 1998 12:48:49 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain 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, , 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