Re: SHOW ALL output too wide

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: SHOW ALL output too wide
Дата
Msg-id 20051126114017.GA11860@svana.org
обсуждение исходный текст
Ответ на Re: SHOW ALL output too wide  (Alvaro Herrera <alvherre@commandprompt.com>)
Список 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 по дате отправления:

Предыдущее
От: Matteo Beccati
Дата:
Сообщение: Re: PL/php in pg_pltemplate
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: plpython and bytea