Re: proposal: psql concise mode

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: psql concise mode
Date: 2011-11-06 20:29:16
Message-ID: CAK3UJRHdesgyrVsuXxjaM3AiOqEhxj0YroaSC7horJd55f-9NA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Nov 6, 2011 at 1:16 PM, Dickson S. Guedes <listas(at)guedesoft(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bernd Helmle 2011-11-06 21:20:49 Re: Measuring relation free space
Previous Message Greg Smith 2011-11-06 19:56:12 Re: [PATCH] optional cleaning queries stored in pg_stat_statements