From: | Michael Fuhr <mike(at)fuhr(dot)org> |
---|---|
To: | Graf László <graf(dot)laszlo(at)axis(dot)hu> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: grants |
Date: | 2004-12-03 21:41:44 |
Message-ID: | 20041203214144.GA34549@winnie.fuhr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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/
From | Date | Subject | |
---|---|---|---|
Next Message | Chris White (cjwhite) | 2004-12-04 15:26:15 | Use of bytea |
Previous Message | William Yu | 2004-12-03 20:58:13 | Re: On disk format postgresql 7.4.3-i386 and x86-64 ? |