mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 15:18:01 +00:00
Add Toggling The Pager In PSQL as a postgres til.
This commit is contained in:
11
postgres/toggling-the-pager-in-psql.md
Normal file
11
postgres/toggling-the-pager-in-psql.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Toggling The Pager In PSQL
|
||||
|
||||
When the pager is enabled in `psql`, commands that produce larger output
|
||||
will be opened in a pager. The pager can be enabled within `psql` by running
|
||||
`\pset pager on`.
|
||||
|
||||
If you'd like to retain the output of commands, perhaps as reference for
|
||||
subsequent commands, you can turn the pager off. As you might expect, the
|
||||
pager can be disabled with `\pset pager off`.
|
||||
|
||||
[source](http://stackoverflow.com/questions/11180179/postgresql-disable-more-output)
|
||||
Reference in New Issue
Block a user