|
1 | 1 | <!-- |
2 | | -$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.79 2002/10/19 00:22:14 tgl Exp $ |
| 2 | +$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.80 2002/11/08 19:12:21 momjian Exp $ |
3 | 3 | PostgreSQL documentation |
4 | 4 | --> |
5 | 5 |
|
@@ -1456,21 +1456,21 @@ lo_import 152801 |
1456 | 1456 | <term><literal>pager</literal></term> |
1457 | 1457 | <listitem> |
1458 | 1458 | <para> |
1459 | | - Toggles the use of a pager for query and <application>psql</> help output. If the |
1460 | | - environment variable <envar>PAGER</envar> is set, the output |
1461 | | - is piped to the specified program. Otherwise a platform-dependent default (such as |
| 1459 | + Controls use of a pager for query and <application>psql</> |
| 1460 | + help output. If the environment variable <envar>PAGER</envar> |
| 1461 | + is set, the output is piped to the specified program. |
| 1462 | + Otherwise a platform-dependent default (such as |
1462 | 1463 | <filename>more</filename>) is used. |
1463 | 1464 | </para> |
1464 | 1465 |
|
1465 | 1466 | <para> |
1466 | | - In any case, <application>psql</application> only uses the |
1467 | | - pager if it seems appropriate. That means among other things |
1468 | | - that the output is to a terminal and that the table would |
1469 | | - normally not fit on the screen. Because of the modular nature |
1470 | | - of the printing routines it is not always possible to predict |
1471 | | - the number of lines that will actually be printed. For that |
1472 | | - reason <application>psql</application> might not appear very |
1473 | | - discriminating about when to use the pager. |
| 1467 | + When the pager is off, the pager is not used. When the pager |
| 1468 | + is on, the pager is used only when appropriate, i.e. the |
| 1469 | + output is to a terminal and will not fit on the screen. |
| 1470 | + (<application>psql</> does not do a perfect job of estimating |
| 1471 | + when to use the pager.) <literal>\pset pager</> turns the |
| 1472 | + pager on and off. Pager can also be set to <literal>always</>, |
| 1473 | + which causes the pager to be always used. |
1474 | 1474 | </para> |
1475 | 1475 | </listitem> |
1476 | 1476 | </varlistentry> |
|
0 commit comments