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

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server: Have \dn+ show permissions and description
Date: 2004-07-14 02:28:31
Message-ID: 40F49A4F.6010207@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-patches

> 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-07-14 04:16:57 Re: pgsql-server: Have \dn+ show permissions and description
Previous Message Bruce Momjian 2004-07-13 22:45:45 Re: pgsql-server: Have \dn+ show permissions and description

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-07-14 02:31:05 Re: [HACKERS] Point in Time Recovery
Previous Message Bruce Momjian 2004-07-14 01:19:37 Re: serverlog rotation/functions