Skip to content

Commit f5621a7

Browse files
committedMay 30, 2015
Add Toggling The Pager In PSQL as a postgres til.
1 parent 92a5507 commit f5621a7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
 

‎README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
5353
### postgres
5454

5555
- [Timestamp Functions](postgres/timestamp-functions.md)
56+
- [Toggling The Pager In PSQL](postgres/toggling-the-pager-in-psql.md)
5657
- [Turning Timing On](postgres/turning-timing-on.md)
5758
- [Word Count for a Column](postgres/word-count-for-a-column.md)
5859

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Toggling The Pager In PSQL
2+
3+
When the pager is enabled in `psql`, commands that produce larger output
4+
will be opened in a pager. The pager can be enabled within `psql` by running
5+
`\pset pager on`.
6+
7+
If you'd like to retain the output of commands, perhaps as reference for
8+
subsequent commands, you can turn the pager off. As you might expect, the
9+
pager can be disabled with `\pset pager off`.
10+
11+
[source](http://stackoverflow.com/questions/11180179/postgresql-disable-more-output)

0 commit comments

Comments
 (0)