Re: User privilege information. - Mailing list pgsql-general

From Michael Fuhr
Subject Re: User privilege information.
Date
Msg-id 20070215151138.GA39379@winnie.fuhr.org
Whole thread Raw
In response to User privilege information.  ("Alexi Gen" <sqlcatz@hotmail.com>)
List pgsql-general
On Thu, Feb 15, 2007 at 05:02:44PM +0530, Alexi Gen wrote:
> How do I find out the privileges of a particular user?
> (names and ids of the objects and their permissions the user has access to)

See the has_<object>_privilege functions and the system catalogs:

http://www.postgresql.org/docs/8.2/interactive/functions-info.html#FUNCTIONS-INFO-ACCESS-TABLE
http://www.postgresql.org/docs/8.2/interactive/catalogs.html

--
Michael Fuhr

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: gmake Error "/libpython2.4.a: could not read symbols: Bad value" with ./configure --with-python
Next
From: "John D. Burger"
Date:
Subject: Re: Recover anything from dropped database?