Re: listing users and their rights - Mailing list pgsql-general

From Oliver Elphick
Subject Re: listing users and their rights
Date
Msg-id 200012301141.eBUBfhH15996@linda.lfix.co.uk
Whole thread Raw
In response to listing users and their rights  ("Thomas T. Thai" <tom@minnesota.com>)
List 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.Elphick@lfix.co.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



pgsql-general by date:

Previous
From: "Dominic J. Eidson"
Date:
Subject: Re: how to show foreign keys of a table
Next
From: David Wright
Date:
Subject: DBD::Pg