Re: SHOW ALL output too wide - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: SHOW ALL output too wide
Date
Msg-id 20051126114017.GA11860@svana.org
Whole thread Raw
In response to Re: SHOW ALL output too wide  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
On Fri, Nov 25, 2005 at 08:25:55PM -0300, Alvaro Herrera wrote:
> (I just noticed that Martijn's patch is not about auto-wrapping but
> about displaying \n correctly, which is quite different.  So while there
> may be some common code it certainly is not the same thing.)

Auto-wrapping has been considered and wouldn't even be too hard to do,
if one could decide where to wrap. With only three columns it would be
fairly easy to decide that the one that take more than half the screen
should be wrapped.

But say you have five integer columns and 6 text columns, when do you
wrap? I've been thinking it might be easiest to be able to say "wrap
any column wider than <variable>". Setting that to half the screen
width would probably work well in most situations...

Have a nice day.
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

pgsql-hackers by date:

Previous
From: Matteo Beccati
Date:
Subject: Re: PL/php in pg_pltemplate
Next
From: Hannu Krosing
Date:
Subject: Re: plpython and bytea