Re: pgsql-server: Have \dn+ show permissions and description - Mailing list pgsql-committers

From Christopher Kings-Lynne
Subject Re: pgsql-server: Have \dn+ show permissions and description
Date
Msg-id 40F49A4F.6010207@familyhealth.com.au
Whole thread Raw
In response to Re: pgsql-server: Have \dn+ show permissions and description  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-committers
> With \dp having a schema column, how would we display permissions there?
>
>        Access privileges for database "test"
>      Schema | Name | Type  | Access privileges
>     --------+------+-------+-------------------
>      public | test | table |
>     (1 row)
>
> I don't think it makes sense to add schema to \dp if it would not
> normally appear in the \dp display.
>
> I figured schema permissions were different enough from table that is
> belonged under schema, no?  Also, to me view/table/sequence are data
> storage objects, while schemas seem different.

Don't forget \db for tablespaces as well - that should work the same as
\dn wrt permissions display.

Chris


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql-server: Have \dn+ show permissions and description
Next
From: Tom Lane
Date:
Subject: Re: pgsql-server: Have \dn+ show permissions and description