Re: listing users and their rights

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: "Thomas T(dot) Thai" <tom(at)minnesota(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: listing users and their rights
Date: 2000-12-30 11:41:40
Message-ID: 200012301141.eBUBfhH15996@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Thomas T. Thai" wrote:
>also, when i start 'psql' as system user joe, it says:
>
>psql: FATAL 1: Database "joe" does not exist in the system catalog.
>
>if i run psql as system user XXX it would say '... Database "XXX" does not
>exist...'
>
>from the documents, it seems as though i can start psql without specifying
>a database.
>
If you don't specify the database, psql defaults to a database named by your
own login name. If you want to connect to any other database, do
`psql -d database'.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Give to him that asketh thee, and from him that would
borrow of thee turn not away."
Matthew 5:42

Browse pgsql-general by date

  From Date Subject
Next Message David Wright 2000-12-30 14:45:10 DBD::Pg
Previous Message Lincoln Yeoh 2000-12-30 08:07:28 Re: Re: Failed Statements within Transactions