Re: problem logging on with new everyday user - Mailing list pgsql-novice

From Gary Chambers
Subject Re: problem logging on with new everyday user
Date
Msg-id alpine.DEB.2.00.1209281009540.10733@booby.gogca.com
Whole thread Raw
In response to problem logging on with new everyday user  (John <mrbruno@yahoo.com>)
List pgsql-novice
John,

> postgres=# \q
> johnp@sussancws0114:~/downloads$ /opt/PostgreSQL/8.4/bin/psql   -U bruno
> Password for user bruno:
> psql: FATAL:  database "bruno" does not exist
> johnp@sussancws0114:~/downloads$

> What am I doing wrong?

Without PGDATABASE set, psql assumes that a database with the same name as
the user connecting exists.  Just add the database name to the psql command
and you should be all set.

--
Gary Chambers


pgsql-novice by date:

Previous
From: John
Date:
Subject: problem logging on with new everyday user
Next
From: Andreas Kretschmer
Date:
Subject: Re: problem logging on with new everyday user