| От | Tom Lane |
|---|---|
| Тема | Re: What is paging my psql |
| Дата | |
| Msg-id | 2180758.1763738171@sss.pgh.pa.us обсуждение |
| Ответ на | Re: What is paging my psql ("David G. Johnston" <david.g.johnston@gmail.com>) |
| Список | pgsql-admin |
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> Whether the pager is used is conditioned on actual output data.
IIRC, you can do "\pset pager always" if you want the pager to be
invoked regardless of the query output length.
Be aware though that the default pager is "more", which (at least
on my Linux box) silently does nothing special if the output is less
than a screenful. If the behavior you are looking for is "wait for
a keystroke even after very short output", you'd need to combine the
\pset setting with "export PSQL_PAGER=less" or similar.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера