From: | "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net> |
---|---|
To: | Josh Kupershmidt <schmiddy(at)gmail(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: proposal: psql concise mode |
Date: | 2011-11-06 18:16:10 |
Message-ID: | CAHHcrerJQ1BamyBJFU00rcmg_PJU4bY-Cvf4OazqwY9WQaoORA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2011/11/5 Josh Kupershmidt <schmiddy(at)gmail(dot)com>:
> I'd like to propose a "concise mode" for psql, which users might turn
> on via a \pset option. Concise mode would affect only the output of
> psql's backslash commands. For output results which have some all-NULL
> columns, as in:
>
> test=# \d+ foo
> Table "public.foo"
> Column | Type | Modifiers | Storage | Stats target | Description
> --------+---------+-----------+---------+--------------+-------------
> a | integer | | plain | |
> b | integer | | plain | |
> Has OIDs: no
>
> Concise mode would simply omit the all-NULL columns, so that the
> output would look like this:
>
> 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?
--
Dickson S. Guedes
mail/xmpp: guedes(at)guedesoft(dot)net - skype: guediz
http://guedesoft.net - http://www.postgresql.org.br
From | Date | Subject | |
---|---|---|---|
Next Message | Florian Pflug | 2011-11-06 18:18:39 | Re: unaccent extension missing some accents |
Previous Message | J Smith | 2011-11-06 17:43:40 | Re: unaccent extension missing some accents |