Re: how to list privileges on the database object itself via SQL? - Mailing list pgsql-admin

From Tom Lane
Subject Re: how to list privileges on the database object itself via SQL?
Date
Msg-id 875041.1682529779@sss.pgh.pa.us
Whole thread Raw
In response to Re: how to list privileges on the database object itself via SQL?  (richard coleman <rcoleman.ascentgl@gmail.com>)
Responses Re: how to list privileges on the database object itself via SQL?  (richard coleman <rcoleman.ascentgl@gmail.com>)
List pgsql-admin
richard coleman <rcoleman.ascentgl@gmail.com> writes:
> Thanks, but no.  I am looking for the SQL statement.
> I very rarely venture into psql, unless it's to run an SQL code block from
> the terminal.
> Is there an SQL way to do this?

psql is still a useful reference.  Run it with the -E option and
look at the SQL it issues when you say "\l".  Trim to fit your
requirements.

            regards, tom lane



pgsql-admin by date:

Previous
From: richard coleman
Date:
Subject: Re: how to list privileges on the database object itself via SQL?
Next
From: MichaelDBA
Date:
Subject: Re: how to list privileges on the database object itself via SQL?