pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Heiko <hero@persua.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Access privileges
Date: Wed, 16 Feb 2005 12:14:26 -0700
Message-ID: <20050216191426.GA19660@winnie.fuhr.org> (raw)
In-Reply-To: <20050216140454.GA9064@mail.eidologic.com>
References: <20050216140454.GA9064@mail.eidologic.com>

On Wed, Feb 16, 2005 at 03:04:54PM +0100, Heiko wrote:
> 
> I'm looking for a SQL command (SELECT) that returns me the
> access rights like the psql \z does. I can't find anything
> about it in the documentation. Thanks in advance...

Run psql -E or do a \set ECHO_HIDDEN -- that'll show the queries
that psql makes for \z, \d, etc.  See also the "System Catalogs"
chapter in the documentation.

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



view thread (2+ messages)

Message-ID: <20050216191426.GA19660@winnie.fuhr.org>
Permalink:  ../20050216191426.GA19660@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050216191426.GA19660@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, hero@persua.de
  Subject: Re: Access privileges
  In-Reply-To: <20050216191426.GA19660@winnie.fuhr.org>
  References: <20050216140454.GA9064@mail.eidologic.com> <20050216191426.GA19660@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