Re: Does PostGresSQL have this feature?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Does PostGresSQL have this feature?
Дата
Msg-id Pine.LNX.4.30.0102271852140.756-100000@peter.localdomain
обсуждение исходный текст
Ответ на Does PostGresSQL have this feature?  (martin.chantler@convergys.com)
Список pgsql-general
martin.chantler@convergys.com writes:

> For example in DB2 you can execute SQL from the command line (via terminal
> emulator)
> It will perform it entirely then display the results, but only one page at
> a time
> You can then page down and page up within the results (or scroll across)
>
> I notice that PSQL doesn't do this which makes large tables difficult to
> maintain

As another poster correctly guessed, you need to set the PAGER environment
variable to 'less'.  The default pager is 'more', which is less
sophisticated, but it is the standard, more or less.  (Pun not intended,
but tolerated.)

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


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

Предыдущее
От: "Poul L. Christiansen"
Дата:
Сообщение: Re: Does PostGresSQL have this feature?
Следующее
От: "Brent R. Matzelle"
Дата:
Сообщение: Re: PHP4.0.4pl1 and PostgreSQL 7.1beta4