Re: Access privileges - Mailing list pgsql-admin

From Michael Fuhr
Subject Re: Access privileges
Date
Msg-id 20050216191426.GA19660@winnie.fuhr.org
Whole thread Raw
In response to Access privileges  (Heiko <hero@persua.de>)
List pgsql-admin
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/

pgsql-admin by date:

Previous
From: pkalva@deg.cc
Date:
Subject: Postgres crashed on invalid IP entry in pg_hba.conf
Next
From: Tom Lane
Date:
Subject: Re: Postgres crashed on invalid IP entry in pg_hba.conf