Re: Where are security permissions stored ?

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: "Thorne, Francis" <ft55(at)leicester(dot)ac(dot)uk>
Cc: "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Where are security permissions stored ?
Date: 2011-06-08 18:46:38
Message-ID: 1307558799.2965.0.camel@laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 2011-06-08 at 11:36 +0100, Thorne, Francis wrote:
> In postgres 8.3.6 could you please tell me where the security
> permission details for users are stored (i.e. who has select on a
> particular table)

Column relacl in the pg_class table of the pg_catalog schema.

> , for example in the master database in M-SQL, am I right in thinking
> these details are stored in pg_catalog and if so I’m guessing this
> should be backed up
>

pg_dump takes care of this for all the objects you dump.

--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Maria L. Wilson 2011-06-08 19:39:56 Postgresql 8.4 replication using Londiste
Previous Message Thorne, Francis 2011-06-08 10:36:16 Where are security permissions stored ?