psql additions

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема psql additions
Дата
Msg-id 4E6D04F1.5010405@dunslane.net
обсуждение исходный текст
Ответы Re: psql additions
Список pgsql-hackers
Here's a couple of ideas I had recently about making psql a bit more 
user friendly.

First, it would be useful to be able to set pager options and possibly 
other settings, so my suggestion is for a \setenv command that could be 
put in a .psqlrc file, something like:
   \setenv PAGER='less'   \setenv LESS='-imFX4'


Probably other people can think of more uses for such a gadget.

Second, I'd like to be able to set a minimum number of lines below which 
the pager would not be used, something like:
   \pset pagerminlines 200


Thoughts?

cheers

andrew


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump.c
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_dump.c