diff options
author | Max Rothman <max@collegevine.com> | 2018-05-15 13:42:21 -0400 |
---|---|---|
committer | Max Rothman <max@collegevine.com> | 2018-09-23 17:02:08 -0400 |
commit | 172c9cd271afe8fe415850b996da2e50ad3b4270 (patch) | |
tree | 2c8ae73eb5500e4f4d95d006981dd9267a5a86a1 /requirements-dev.txt | |
parent | 7889b2838f8890122d0f9c4bc141e03cfc25d003 (diff) |
Respect \pset pager on expected behavior
"\pset pager" has three possible values: "always", "on", and "off".
pgcli previously treated all non-"off" values as "always". This change
implements the expected behavior, which is to use the pager when the
output is larger than the terminal height (See \pset pager in
https://www.postgresql.org/docs/9.2/static/app-psql.html). Pgcli adds to
this by also using the pager when the output is wider than the terminal
width.
Fixes #813
Diffstat (limited to 'requirements-dev.txt')
-rw-r--r-- | requirements-dev.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/requirements-dev.txt b/requirements-dev.txt index d01f54fa..575a7741 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,5 @@ -pytest>=2.7.0 +# The maximum version requirement can be removed once Python 3.4 goes EOL +pytest>=2.7.0,<=3.0.7 mock>=1.0.1 tox>=1.9.2 behave>=1.2.4 |