Re: Show INHERIT in \du

Поиск
Список
Период
Сортировка
От Brendan Jurd
Тема Re: Show INHERIT in \du
Дата
Msg-id 37ed240d0802141525i2f5e4dc0jc78b73ce2dbde6be@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Show INHERIT in \du  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Show INHERIT in \du  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Feb 15, 2008 at 3:42 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>  Now that psql prints multiline field values nicely, maybe it'd work
>  to fold all the boolean attributes into one column.  I'm imagining
>  something like
>
>  Role name | Privileges  | Member of
>  ----------+-------------+-----------
>  postgres  | superuser   | {}
>           | create role |
>           | create db   |
>  joeblow   |             | {users}
>  foobar    |             | {users}
>

I like it -- very compact compared with what we currently have, but
still easy to read.

What about connection limit?  I suppose we could combine it into the
privileges column, and refrain from displaying anything for "no
limit".
Role name | Privileges  | Member of----------+-------------+-----------postgres  | superuser   | {}         | create
role|         | create db   |joeblow   |             | {users}foobar    | 5 connections | {users}
 

Cheers
BJ


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Show INHERIT in \du
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Show INHERIT in \du