Re: psql scroll horizontal

Поиск
Список
Период
Сортировка
От Manuel Sugawara
Тема Re: psql scroll horizontal
Дата
Msg-id m3k72u6emh.fsf@conexa.fciencias.unam.mx
обсуждение исходный текст
Ответ на psql scroll horizontal  (Nabil Sayegh <postgresql@e-trolley.de>)
Ответы Re: psql scroll horizontal  (Nabil Sayegh <postgresql@e-trolley.de>)
Список pgsql-novice
Nabil Sayegh <postgresql@e-trolley.de> writes:

> Hi,
>
> does anybody know how I can have psql scroll wide tables instead of
> wrapping them?
>
> At the moment it uses the pager if there are too many rows. But
> although I can scroll horizontal then, it still wraps some rows
> around.

The problem is with your pager. Using less (set the PAGER environment
variable to less) and setting the LESS environment variable to -S (see
the less man page for details) will do the work.

>
> Additionally It would be nice, if the pager is used as soon as the
> width is to wide (independant from the amount of rows).

It would, indeed.

Regards,
Manuel.

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

Предыдущее
От: Nabil Sayegh
Дата:
Сообщение: psql scroll horizontal
Следующее
От: Nabil Sayegh
Дата:
Сообщение: Re: psql scroll horizontal