Обсуждение: Role privileges in PostgreSQL.

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

Role privileges in PostgreSQL.

От
"Akmal Akmalhojaev"
Дата:
Hello.<br /><br />I have the following question: where role privileges on working with tables, data bases and so on are
storedin PostgreSQL (In what system catalogs?)? <br /><br />Thanks. <br />Akmal.<br /><br /><br /> 

Re: Role privileges in PostgreSQL.

От
Tom Lane
Дата:
"Akmal Akmalhojaev" <akmal.ilh@gmail.com> writes:
> I have the following question: where role privileges on working with tables,
> data bases and so on are stored in PostgreSQL (In what system catalogs?)?

Privileges are attached to the target objects, eg pg_class.relacl for
relations.  Look for columns of type aclitem[] in the catalog descriptions:
http://developer.postgresql.org/pgdocs/postgres/catalogs.html
        regards, tom lane