Re: Post Install / Secure PostgreSQL - Mailing list pgsql-general

From Tom Lane
Subject Re: Post Install / Secure PostgreSQL
Date
Msg-id 22136.1284575030@sss.pgh.pa.us
Whole thread Raw
In response to Re: Post Install / Secure PostgreSQL  (Alan Hodgson <ahodgson@simkin.ca>)
List pgsql-general
Alan Hodgson <ahodgson@simkin.ca> writes:
> On September 15, 2010 11:10:45 am Carlos Mennens wrote:
>> Doesn't that show I'm connected to the 'postgres' database and there
>> is a table called 'pg_user' which holds all my PostgreSQL user info?
>> That doesn't make sense to me if the database is empty unless I am
>> missing something here. The only way I knew 'pg_user' was available
>> was because I ran the command '\dS'.

> system tables don't show up in normal views. I don't think they really belong
> to particular databases either, but someone might correct me on that.

There are a small number of "shared" catalogs, in particular the list of
users and the list of databases, that are visible in all databases.
Most of the catalogs are per-database, though, so that they can have
different contents in different databases.

            regards, tom lane

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Post Install / Secure PostgreSQL
Next
From: Merlin Moncure
Date:
Subject: Re: Using libpq, floats and binary data