[HACKERS] psql: Activate pager only for height, not width
От | Brendan Jurd |
---|---|
Тема | [HACKERS] psql: Activate pager only for height, not width |
Дата | |
Msg-id | CADxJZo1bDqDrXry5vwLtM5jfZKSw1i9o9DoWYFP+RCw8RuWAKA@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: [HACKERS] psql: Activate pager only for height, not width
|
Список | pgsql-hackers |
Hello hackers,
I am often frustrated by the default behaviour of the psql pager, which will activate a pager if the output is deemed to be "too wide" for the terminal, regardless of the number of lines output, and of the pager_min_lines setting.Another option is to add the ability to specify the number of columns which psql considers "too wide", analogous to pager_min_lines. I could then set pager_min_cols to something around 150 which would work nicely for my situation.
I don't have strong opinions about how the options are constructed, as long as it is possible to obtain the behaviour.В списке pgsql-hackers по дате отправления: