Re: Tech details - psql wraps at window width

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Tech details - psql wraps at window width
Дата
Msg-id 200804260334.13631.peter_e@gmx.net
обсуждение исходный текст
Ответ на Tech details - psql wraps at window width  (Bryce Nesbitt <bryce2@obviously.com>)
Список pgsql-hackers
Am Samstag, 26. April 2008 schrieb Bryce Nesbitt:
> But that leaves a big hole: what does the setting in .psqlrc refer to?  
> Do we need separate controls in .psql?
>
>    \pset format_terminal wrap [auto|nnn|off]
>    \pset format_terminal html
>    \pset format_stream wrap [auto|nnn|off]
>    \pset format_stream html

I think one of the weirdest behaviors in psql is that it reads the startup 
file in noninteractive mode.  Unix shells don't do this for good reasons.  If 
we could work out a change that moves the psql startup file behavior more in 
line with that of Unix shells, perhaps meaning separate startup files, then 
users could put all the crazy formatting settings they like in .psqlrc 
without affecting noninteractive output.  And there would still be the 
possibility to format noninteractive output the way you want by explicit 
intervention.  This is basically what your pseudoproposal above would 
accomplish, just on a more global scale.


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

Предыдущее
От: Bryce Nesbitt
Дата:
Сообщение: Tech details - psql wraps at window width
Следующее
От: "Brendan Jurd"
Дата:
Сообщение: Re: Proposed Patch - LDAPS support for servers on port 636 w/o TLS