Re: Show INHERIT in \du

From: "Brendan Jurd" <direvus(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Bernd Helmle" <mailings(at)oopsware(dot)de>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Show INHERIT in \du
Date: 2008-02-14 23:25:29
Message-ID: 37ed240d0802141525i2f5e4dc0jc78b73ce2dbde6be@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Fri, Feb 15, 2008 at 3:42 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-02-14 23:50:46 Re: Show INHERIT in \du
Previous Message Alvaro Herrera 2008-02-14 22:28:18 Re: Show INHERIT in \du

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-02-14 23:50:46 Re: Show INHERIT in \du
Previous Message Gevik Babakhani 2008-02-14 22:58:01 Re: Fix for 8.3 MSVC locale (Was [HACKERS] NLS on MSVCstrikes back!)