{"action":"created","issue":{"url":"https://api.github.com/repos/dbcli/pgcli/issues/871","repository_url":"https://api.github.com/repos/dbcli/pgcli","labels_url":"https://api.github.com/repos/dbcli/pgcli/issues/871/labels{/name}","comments_url":"https://api.github.com/repos/dbcli/pgcli/issues/871/comments","events_url":"https://api.github.com/repos/dbcli/pgcli/issues/871/events","html_url":"https://github.com/dbcli/pgcli/pull/871","id":322474652,"number":871,"title":"Respect \\pset pager on expected behavior","user":{"login":"maxrothman","id":2607086,"avatar_url":"https://avatars1.githubusercontent.com/u/2607086?v=4","gravatar_id":"","url":"https://api.github.com/users/maxrothman","html_url":"https://github.com/maxrothman","followers_url":"https://api.github.com/users/maxrothman/followers","following_url":"https://api.github.com/users/maxrothman/following{/other_user}","gists_url":"https://api.github.com/users/maxrothman/gists{/gist_id}","starred_url":"https://api.github.com/users/maxrothman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxrothman/subscriptions","organizations_url":"https://api.github.com/users/maxrothman/orgs","repos_url":"https://api.github.com/users/maxrothman/repos","events_url":"https://api.github.com/users/maxrothman/events{/privacy}","received_events_url":"https://api.github.com/users/maxrothman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-12T02:10:27Z","updated_at":"2018-05-12T22:55:11Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/dbcli/pgcli/pulls/871","html_url":"https://github.com/dbcli/pgcli/pull/871","diff_url":"https://github.com/dbcli/pgcli/pull/871.diff","patch_url":"https://github.com/dbcli/pgcli/pull/871.patch"},"body":"`\\pset pager` has three possible values: \"always\", \"on\", and \"off\".\r\npgcli previously treated all non-\"off\" values as \"always\". This change\r\nimplements the expected behavior, which is to use the pager when the\r\noutput is larger than the terminal height (See \\pset pager in\r\nhttps://www.postgresql.org/docs/9.2/static/app-psql.html)\r\n\r\nFixes #813\r\n\r\n## Checklist\r\n- [x] I've added this contribution to the `changelog.md`.\r\n- [x] I've added my name to the `AUTHORS` file (or it's already there).\r\n"},"comment":{"url":"https://api.github.com/repos/dbcli/pgcli/issues/comments/388588889","html_url":"https://github.com/dbcli/pgcli/pull/871#issuecomment-388588889","issue_url":"https://api.github.com/repos/dbcli/pgcli/issues/871","id":388588889,"user":{"login":"maxrothman","id":2607086,"avatar_url":"https://avatars1.githubusercontent.com/u/2607086?v=4","gravatar_id":"","url":"https://api.github.com/users/maxrothman","html_url":"https://github.com/maxrothman","followers_url":"https://api.github.com/users/maxrothman/followers","following_url":"https://api.github.com/users/maxrothman/following{/other_user}","gists_url":"https://api.github.com/users/maxrothman/gists{/gist_id}","starred_url":"https://api.github.com/users/maxrothman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxrothman/subscriptions","organizations_url":"https://api.github.com/users/maxrothman/orgs","repos_url":"https://api.github.com/users/maxrothman/repos","events_url":"https://api.github.com/users/maxrothman/events{/privacy}","received_events_url":"https://api.github.com/users/maxrothman/received_events","type":"User","site_admin":false},"created_at":"2018-05-12T22:55:11Z","updated_at":"2018-05-12T22:55:11Z","author_association":"NONE","body":"It looks like tests are failing because `pytest.param` isn't available in the version of `pytest` that's being installed for Python 3.4. I could remove the uses of it, but it'd result in less clear test IDs. Before I go and do that, do you know if there's a different workaround?"}}
{"actor":{"display_login":"maxrothman"}}