On Sun, Nov 6, 2011 at 1:16 PM, Dickson S. Guedes <lis...@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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to