Re: silly select question - Mailing list pgsql-general

From Richard Huxton
Subject Re: silly select question
Date
Msg-id 200302051720.20277.dev@archonet.com
Whole thread Raw
In response to silly select question  ("Johnson, Shaunn" <SJohnson6@bcbsm.com>)
List pgsql-general
On Wednesday 05 Feb 2003 2:45 pm, Johnson, Shaunn wrote:
> Running PostgreSQL 7.2.1 on RedHat Linux 7.2
>
> This may seem like an obviously stupid question, but
> is there any other reason, besides security
> issues, that the system tables (pg_shadow, for one)
> does not have select access on it?

Most system tables *do* have select access, otherwise you couldn't see what
tables, views, functions etc. existed.

Now pg_shadow is special, because it contains the passwords PG uses, so only
the administrator (user postgres) should be able to see that.

--
  Richard Huxton

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Question: unique on multiple columns
Next
From: "Nigel J. Andrews"
Date:
Subject: Re: How start using schemas for existing database