Re: grants - Mailing list pgsql-admin

From Michael Fuhr
Subject Re: grants
Date
Msg-id 20041203214144.GA34549@winnie.fuhr.org
Whole thread Raw
In response to grants  (Graf László <graf.laszlo@axis.hu>)
Responses Re: grants
List pgsql-admin
On Fri, Dec 03, 2004 at 12:22:58PM +0100, Graf László wrote:

> In wich system table, like pg_tables, are stored the the grant attributes?
> I mean those attributes, what discribe the SELECT, INSERT, etc. rights of a
> use (ex. postgres) for a selected table.

What are you trying to do?  There are different ways to get permission
information, some more appropriate than others depending on your needs.
To learn more see the "System Catalogs", "Information Schema", and
"Access Privilege Inquiry Functions" documentation:

http://www.postgresql.org/docs/7.4/static/catalogs.html
http://www.postgresql.org/docs/7.4/static/information-schema.html
http://www.postgresql.org/docs/7.4/static/functions-misc.html

The Information Schema is available in 7.4 and later.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-admin by date:

Previous
From: William Yu
Date:
Subject: Re: On disk format postgresql 7.4.3-i386 and x86-64 ?
Next
From: "Chris White (cjwhite)"
Date:
Subject: Use of bytea