pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-admin@postgresql.org
Subject: Re: Database User
Date: Wed, 20 Jun 2007 14:09:55 -0400
Message-ID: <20070620180955.GB743@phlogiston.dyndns.org> (raw)
In-Reply-To: <60503AE0-0F0E-4E9A-A511-23F87C6F7485@indiana.edu>
References: <60503AE0-0F0E-4E9A-A511-23F87C6F7485@indiana.edu>

On Wed, Jun 20, 2007 at 11:59:11AM -0400, Carol Walter wrote:
> I hope this is a simple request, but I'm a relative newby and I don't  
> know my way around the system tables yet.  My user wants to know who  
> has privs to a specific database.  How can I give her this info.

You could use the access privilege functions documented in
http://www.postgresql.org/docs/8.1/interactive/functions-info.html. 
Alternatively, the datacl column in the pg_database table might help
you.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
The plural of anecdote is not data.
		--Roger Brinner



view thread (2+ messages)

Message-ID: <20070620180955.GB743@phlogiston.dyndns.org>
Permalink:  ../20070620180955.GB743@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20070620180955.GB743@phlogiston.dyndns.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ajs@crankycanuck.ca
  Subject: Re: Database User
  In-Reply-To: <20070620180955.GB743@phlogiston.dyndns.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