Skip site navigation (1) Skip section navigation (2)

Re: Role privileges in PostgreSQL.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Akmal Akmalhojaev" <akmal(dot)ilh(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Role privileges in PostgreSQL.
Date: 2007-05-25 23:49:35
Message-ID: 28263.1180136975@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
"Akmal Akmalhojaev" <akmal(dot)ilh(at)gmail(dot)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

In response to

pgsql-hackers by date

Next:From: Heikki LinnakangasDate: 2007-05-26 10:55:03
Subject: Re: Autovacuum versus rolled-back transactions
Previous:From: Tom LaneDate: 2007-05-25 23:20:38
Subject: Autovacuum versus rolled-back transactions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group