pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Graf László <graf.laszlo@axis.hu>
Cc: pgsql-admin@postgresql.org
Subject: Re: grants
Date: Fri, 3 Dec 2004 14:41:44 -0700
Message-ID: <20041203214144.GA34549@winnie.fuhr.org> (raw)
In-Reply-To: <41B04C92.6060601@axis.hu>
References: <41B04C92.6060601@axis.hu>

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/



view thread (3+ messages)  latest in thread

Message-ID: <20041203214144.GA34549@winnie.fuhr.org>
Permalink:  ../20041203214144.GA34549@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20041203214144.GA34549@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, graf.laszlo@axis.hu
  Subject: Re: grants
  In-Reply-To: <20041203214144.GA34549@winnie.fuhr.org>
  References: <41B04C92.6060601@axis.hu> <20041203214144.GA34549@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox