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

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: pgsql-server: Have \dn+ show permissions and description
Дата
Msg-id 40F49A4F.6010207@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: pgsql-server: Have \dn+ show permissions and description  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql-server: Have \dn+ show permissions and description
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql-server: Have \dn+ show permissions and description