Role privileges in PostgreSQL.

Started by Akmal Akmalhojaevover 18 years ago2 messages
#1Akmal Akmalhojaev
akmal.ilh@gmail.com

Hello.

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

Thanks.
Akmal.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Akmal Akmalhojaev (#1)
Re: Role privileges in PostgreSQL.

"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