Re: SHOW ALL output too wide

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: SHOW ALL output too wide
Date: 2005-11-25 20:30:02
Message-ID: 200511252030.jAPKU2G04246@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dennis Bjorklund wrote:
> I've noticed that in 8.1 the output of SHOW ALL includes a description
> column. This makes the output very wide which makes it hard to use from
> psql (I need to make the terminal window 164 characters wide to not get
> any line wrapping). I wish I would have noticed this before 8.0 was out
> and then I would have voted no.
>
> Also, how come it's not implemented by a \show command in psql that
> queries pg_settings. Then it would work like most other commands. And one
> could have a \show+ command that include the description.

Why implement something in the client if the server supports it cleanly
already.

Try \x to see the output clearer.

>
> Actually, I'm going to implement a \show command and send to -patches and
> then SHOW can even be deprecated (if we want). SHOW is just a command line
> client command, that is implemented in the server. That is not how we
> normally do things in pg (for example, we have \d instead of a server
> DESCRIBE command).

If you remove SHOW then applications/interfaces can't use it, which is
bad.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2005-11-25 20:38:57 Re: [BUGS] BUG #2052: Federal Agency Tech Hub Refuses to Accept
Previous Message Bruce Momjian 2005-11-25 20:18:01 Re: [HACKERS] BUG #2052: Federal Agency Tech Hub Refuses to Accept