Re: Tech details - psql wraps at window width

Поиск
Список
Период
Сортировка
От Bryce Nesbitt
Тема Re: Tech details - psql wraps at window width
Дата
Msg-id 4812D4FC.8090302@obviously.com
обсуждение исходный текст
Ответ на Re: Tech details - psql wraps at window width  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Tech details - psql wraps at window width  ("Brendan Jurd" <direvus@gmail.com>)
Список pgsql-hackers
Bruce Momjian wrote:
> Hey, I can work with this idea. First, there really is no 'off' mode 
> for wrapped because that is aligned...
Well, come to think of it, "wrapped" is not really a new output format 
in the sense of "html" or "latex".  It could build on aligned:

\pset format aligned [autowrap|nowrap|nnn]

But there's still the issue of wanting separate defaults for tty and 
stream outputs.  The last thing you want is an admin deciding on 
wrapping, and then subtly breaking scripts.  My personal desired 
defaults are:

* Terminals autowrap.
* Streams don't wrap, except in the rare case when I want to force a 
specific width (e.g. 79 for a newsgroup posting).
                                 -Bryce




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Proposed patch - psql wraps at window width
Следующее
От: Anton Burkun
Дата:
Сообщение: Compiling trigger function with MinGW