select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Unsupported versions: 6.4
Historical version. PostgreSQL 6.4 reached end of support in October 2003. See the current manual for supported releases.

Chapter 17. psql

This section needs to be converted from the original psql man page. Volunteers?

Tip: To change the paging behavior of your results, set/unset your PAGER environment variable.

Paging To Screen

Author: From Brett McCormick on the mailing list 1998-04-04.

To affect the paging behavior of your psql output, set or unset your PAGER environment variable. I always have to set mine before it will pause. And of course you have to do this before starting the program.

In csh/tcsh or other C shells:

  unsetenv PAGER
while in sh/bash or other Bourne shells:
  unset PAGER

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.