Re: proposal: psql concise mode - Mailing list pgsql-hackers

From Josh Kupershmidt
Subject Re: proposal: psql concise mode
Date
Msg-id CAK3UJRHEQe1VbXgwkp=SyB9hFRWgBvYgPidLNCHCMJKf3HbB9g@mail.gmail.com
Whole thread Raw
In response to Re: proposal: psql concise mode  (Ross Reedstrom <reedstrm@rice.edu>)
List pgsql-hackers
On Mon, Nov 14, 2011 at 5:16 PM, Ross Reedstrom <reedstrm@rice.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


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: strict aliasing (was: const correctness)
Next
From: Josh Kupershmidt
Date:
Subject: psql + libedit command history truncation (was: psql history vs. dearmor (pgcrypto))