Re: proposal: psql concise mode
Josh Kupershmidt <schmiddy@gmail.com>
From: Josh Kupershmidt <schmiddy@gmail.com>
To: "Dickson S. Guedes" <listas@guedesoft.net>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-11-06T20:29:16Z
Lists: pgsql-hackers
On Sun, Nov 6, 2011 at 1:16 PM, Dickson S. Guedes <listas@guedesoft.net> wrote:
>> test=# \d+ foo
>> Table "public.foo"
>> Column | Type | Storage
>> --------+---------+---------
>> a | integer | plain
>> b | integer | plain
>> Has OIDs: no
>
> Using your example, what if column 'b' has a comment and 'a' not? How
> the above output will be displayed?
Then the comments would be displayed as they previously were, like so:
Table "public.foo"
Column | Type | Storage | Description
--------+---------+---------+-------------
a | integer | plain |
b | integer | plain | some comment
Has OIDs: no
Josh