pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tim J Trowbridge <trowbrid@execpc.com>
To: pgsql-sql@postgresql.org
Subject: Re: [SQL] Viewing access privileges
Date: Sat, 16 Jan 1999 13:24:22 -0600 (CST)
Message-ID: <199901161924.NAA23658@earth.execpc.com> (raw)
In-Reply-To: <199901160900.TAA32156@mustang.sdc.com.au>

Stephen Davies wrote:
> 
> How can one view all of the access privileges of one or more users?
> 
> That is, how can I check what I have GRANTed to whom?

Try this:
SELECT relname,relacl FROM pg_class WHERE relname !~ '^pg_';

-- 
Tim J Trowbridge                         trowbrid@writeme.com
Interested in my genealogy?          http://www.execpc.com/~trowbrid



view thread (2+ messages)

Message-ID: <199901161924.NAA23658@earth.execpc.com>
Permalink:  ../199901161924.NAA23658@earth.execpc.com/
Also on:    postgresql.org/message-id/199901161924.NAA23658@earth.execpc.com

 · 

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-sql@postgresql.org
  Cc: trowbrid@execpc.com
  Subject: Re: [SQL] Viewing access privileges
  In-Reply-To: <199901161924.NAA23658@earth.execpc.com>
  References: <199901160900.TAA32156@mustang.sdc.com.au> <199901161924.NAA23658@earth.execpc.com>

* 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