Обсуждение: Where are security permissions stored ?

Поиск
Список
Период
Сортировка

Where are security permissions stored ?

От
"Thorne, Francis"
Дата:

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), 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

 

Thanks

FT

 

 

Re: Where are security permissions stored ?

От
Guillaume Lelarge
Дата:
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