Re: proposal: psql concise mode

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: Ross Reedstrom <reedstrm(at)rice(dot)edu>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net>
Subject: Re: proposal: psql concise mode
Date: 2011-11-14 23:43:03
Message-ID: CAK3UJRHEQe1VbXgwkp=SyB9hFRWgBvYgPidLNCHCMJKf3HbB9g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Nov 14, 2011 at 5:16 PM, Ross Reedstrom <reedstrm(at)rice(dot)edu> wrote:
> Concise output might look like (bikeshed argument: "splat" indicates
> columns "squashed" out):
>
>  test=# \d+ foo
>                          Table "public.foo"
>  Column |  Type   # Storage #
>  --------+---------+---------+
>  a      | integer # plain   #
>  b      | integer # plain   #
>  Has OIDs: no
>
> or:
>
>  Column |  Type   || Storage |
>  --------+---------++---------+
>  a      | integer || plain   |
>  b      | integer || plain   |
>
> or even:
>
>  Column |  Type   || Storage ||
>  --------+---------++---------++
>  a      | integer || plain   ||
>  b      | integer || plain   ||

Yeah, that's an idea. And/or the table footer could list the omitted columns.

Josh

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Kupershmidt 2011-11-15 00:04:34 psql + libedit command history truncation (was: psql history vs. dearmor (pgcrypto))
Previous Message Andres Freund 2011-11-14 23:33:13 Re: strict aliasing (was: const correctness)