From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: SHOW ALL output too wide |
Date: | 2005-11-26 11:40:22 |
Message-ID: | 20051126114017.GA11860@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)svana(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2005-11-26 12:39:21 | Re: gprof SELECT COUNT(*) results |
Previous Message | Matteo Beccati | 2005-11-26 10:12:02 | Re: PL/php in pg_pltemplate |