30th September 2021: PostgreSQL 14 Released!
Unsupported versions: 6.4
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

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