{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/dbcli/pgspecial/pulls/6","id":50213505,"html_url":"https://github.com/dbcli/pgspecial/pull/6","diff_url":"https://github.com/dbcli/pgspecial/pull/6.diff","patch_url":"https://github.com/dbcli/pgspecial/pull/6.patch","issue_url":"https://api.github.com/repos/dbcli/pgspecial/issues/6","number":6,"state":"open","locked":false,"title":"Add \\pset pager Toggle to modify Pager behaviour","user":{"login":"pik","id":10236920,"avatar_url":"https://avatars.githubusercontent.com/u/10236920?v=3","gravatar_id":"","url":"https://api.github.com/users/pik","html_url":"https://github.com/pik","followers_url":"https://api.github.com/users/pik/followers","following_url":"https://api.github.com/users/pik/following{/other_user}","gists_url":"https://api.github.com/users/pik/gists{/gist_id}","starred_url":"https://api.github.com/users/pik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pik/subscriptions","organizations_url":"https://api.github.com/users/pik/orgs","repos_url":"https://api.github.com/users/pik/repos","events_url":"https://api.github.com/users/pik/events{/privacy}","received_events_url":"https://api.github.com/users/pik/received_events","type":"User","site_admin":false},"body":"I'm not sure whether `\\pset` is the ideal place to put this (since it's not already present) -- but it has the advantage of being instantly familiar to psql users. The following patch adds a toggle for the following pager options: \r\n\r\n- always\r\n- on long output\r\n- off\r\n\r\nThis will enable pgcli to be configured in similar ways to psql (https://github.com/dbcli/pgcli/issues/399) for displaying / hiding output which does not fit the current screen. ","created_at":"2015-11-10T04:35:59Z","updated_at":"2015-11-10T04:35:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dbcli/pgspecial/pulls/6/commits","review_comments_url":"https://api.github.com/repos/dbcli/pgspecial/pulls/6/comments","review_comment_url":"https://api.github.com/repos/dbcli/pgspecial/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dbcli/pgspecial/issues/6/comments","statuses_url":"https://api.github.com/repos/dbcli/pgspecial/statuses/c6ec52b5f317a3172fad49bd4180b224f092789c","head":{"label":"pik:master","ref":"master","sha":"c6ec52b5f317a3172fad49bd4180b224f092789c","user":{"login":"pik","id":10236920,"avatar_url":"https://avatars.githubusercontent.com/u/10236920?v=3","gravatar_id":"","url":"https://api.github.com/users/pik","html_url":"https://github.com/pik","followers_url":"https://api.github.com/users/pik/followers","following_url":"https://api.github.com/users/pik/following{/other_user}","gists_url":"https://api.github.com/users/pik/gists{/gist_id}","starred_url":"https://api.github.com/users/pik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pik/subscriptions","organizations_url":"https://api.github.com/users/pik/orgs","repos_url":"https://api.github.com/users/pik/repos","events_url":"https://api.github.com/users/pik/events{/privacy}","received_events_url":"https://api.github.com/users/pik/received_events","type":"User","site_admin":false},"repo":{"id":45851924,"name":"pgspecial","full_name":"pik/pgspecial","owner":{"login":"pik","id":10236920,"avatar_url":"https://avatars.githubusercontent.com/u/10236920?v=3","gravatar_id":"","url":"https://api.github.com/users/pik","html_url":"https://github.com/pik","followers_url":"https://api.github.com/users/pik/followers","following_url":"https://api.github.com/users/pik/following{/other_user}","gists_url":"https://api.github.com/users/pik/gists{/gist_id}","starred_url":"https://api.github.com/users/pik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pik/subscriptions","organizations_url":"https://api.github.com/users/pik/orgs","repos_url":"https://api.github.com/users/pik/repos","events_url":"https://api.github.com/users/pik/events{/privacy}","received_events_url":"https://api.github.com/users/pik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pik/pgspecial","description":"","fork":true,"url":"https://api.github.com/repos/pik/pgspecial","forks_url":"https://api.github.com/repos/pik/pgspecial/forks","keys_url":"https://api.github.com/repos/pik/pgspecial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pik/pgspecial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pik/pgspecial/teams","hooks_url":"https://api.github.com/repos/pik/pgspecial/hooks","issue_events_url":"https://api.github.com/repos/pik/pgspecial/issues/events{/number}","events_url":"https://api.github.com/repos/pik/pgspecial/events","assignees_url":"https://api.github.com/repos/pik/pgspecial/assignees{/user}","branches_url":"https://api.github.com/repos/pik/pgspecial/branches{/branch}","tags_url":"https://api.github.com/repos/pik/pgspecial/tags","blobs_url":"https://api.github.com/repos/pik/pgspecial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pik/pgspecial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pik/pgspecial/git/refs{/sha}","trees_url":"https://api.github.com/repos/pik/pgspecial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pik/pgspecial/statuses/{sha}","languages_url":"https://api.github.com/repos/pik/pgspecial/languages","stargazers_url":"https://api.github.com/repos/pik/pgspecial/stargazers","contributors_url":"https://api.github.com/repos/pik/pgspecial/contributors","subscribers_url":"https://api.github.com/repos/pik/pgspecial/subscribers","subscription_url":"https://api.github.com/repos/pik/pgspecial/subscription","commits_url":"https://api.github.com/repos/pik/pgspecial/commits{/sha}","git_commits_url":"https://api.github.com/repos/pik/pgspecial/git/commits{/sha}","comments_url":"https://api.github.com/repos/pik/pgspecial/comments{/number}","issue_comment_url":"https://api.github.com/repos/pik/pgspecial/issues/comments{/number}","contents_url":"https://api.github.com/repos/pik/pgspecial/contents/{+path}","compare_url":"https://api.github.com/repos/pik/pgspecial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pik/pgspecial/merges","archive_url":"https://api.github.com/repos/pik/pgspecial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pik/pgspecial/downloads","issues_url":"https://api.github.com/repos/pik/pgspecial/issues{/number}","pulls_url":"https://api.github.com/repos/pik/pgspecial/pulls{/number}","milestones_url":"https://api.github.com/repos/pik/pgspecial/milestones{/number}","notifications_url":"https://api.github.com/repos/pik/pgspecial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pik/pgspecial/labels{/name}","releases_url":"https://api.github.com/repos/pik/pgspecial/releases{/id}","created_at":"2015-11-09T16:45:16Z","updated_at":"2015-11-09T16:45:17Z","pushed_at":"2015-11-10T04:33:10Z","git_url":"git://github.com/pik/pgspecial.git","ssh_url":"git@github.com:pik/pgspecial.git","clone_url":"https://github.com/pik/pgspecial.git","svn_url":"https://github.com/pik/pgspecial","homepage":null,"size":133,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dbcli:master","ref":"master","sha":"c6e96ee1dccf59995a6e18c123af4c90230c7a72","user":{"login":"dbcli","id":11810727,"avatar_url":"https://avatars.githubusercontent.com/u/11810727?v=3","gravatar_id":"","url":"https://api.github.com/users/dbcli","html_url":"https://github.com/dbcli","followers_url":"https://api.github.com/users/dbcli/followers","following_url":"https://api.github.com/users/dbcli/following{/other_user}","gists_url":"https://api.github.com/users/dbcli/gists{/gist_id}","starred_url":"https://api.github.com/users/dbcli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbcli/subscriptions","organizations_url":"https://api.github.com/users/dbcli/orgs","repos_url":"https://api.github.com/users/dbcli/repos","events_url":"https://api.github.com/users/dbcli/events{/privacy}","received_events_url":"https://api.github.com/users/dbcli/received_events","type":"Organization","site_admin":false},"repo":{"id":41221414,"name":"pgspecial","full_name":"dbcli/pgspecial","owner":{"login":"dbcli","id":11810727,"avatar_url":"https://avatars.githubusercontent.com/u/11810727?v=3","gravatar_id":"","url":"https://api.github.com/users/dbcli","html_url":"https://github.com/dbcli","followers_url":"https://api.github.com/users/dbcli/followers","following_url":"https://api.github.com/users/dbcli/following{/other_user}","gists_url":"https://api.github.com/users/dbcli/gists{/gist_id}","starred_url":"https://api.github.com/users/dbcli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbcli/subscriptions","organizations_url":"https://api.github.com/users/dbcli/orgs","repos_url":"https://api.github.com/users/dbcli/repos","events_url":"https://api.github.com/users/dbcli/events{/privacy}","received_events_url":"https://api.github.com/users/dbcli/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dbcli/pgspecial","description":"","fork":false,"url":"https://api.github.com/repos/dbcli/pgspecial","forks_url":"https://api.github.com/repos/dbcli/pgspecial/forks","keys_url":"https://api.github.com/repos/dbcli/pgspecial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dbcli/pgspecial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dbcli/pgspecial/teams","hooks_url":"https://api.github.com/repos/dbcli/pgspecial/hooks","issue_events_url":"https://api.github.com/repos/dbcli/pgspecial/issues/events{/number}","events_url":"https://api.github.com/repos/dbcli/pgspecial/events","assignees_url":"https://api.github.com/repos/dbcli/pgspecial/assignees{/user}","branches_url":"https://api.github.com/repos/dbcli/pgspecial/branches{/branch}","tags_url":"https://api.github.com/repos/dbcli/pgspecial/tags","blobs_url":"https://api.github.com/repos/dbcli/pgspecial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dbcli/pgspecial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dbcli/pgspecial/git/refs{/sha}","trees_url":"https://api.github.com/repos/dbcli/pgspecial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dbcli/pgspecial/statuses/{sha}","languages_url":"https://api.github.com/repos/dbcli/pgspecial/languages","stargazers_url":"https://api.github.com/repos/dbcli/pgspecial/stargazers","contributors_url":"https://api.github.com/repos/dbcli/pgspecial/contributors","subscribers_url":"https://api.github.com/repos/dbcli/pgspecial/subscribers","subscription_url":"https://api.github.com/repos/dbcli/pgspecial/subscription","commits_url":"https://api.github.com/repos/dbcli/pgspecial/commits{/sha}","git_commits_url":"https://api.github.com/repos/dbcli/pgspecial/git/commits{/sha}","comments_url":"https://api.github.com/repos/dbcli/pgspecial/comments{/number}","issue_comment_url":"https://api.github.com/repos/dbcli/pgspecial/issues/comments{/number}","contents_url":"https://api.github.com/repos/dbcli/pgspecial/contents/{+path}","compare_url":"https://api.github.com/repos/dbcli/pgspecial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dbcli/pgspecial/merges","archive_url":"https://api.github.com/repos/dbcli/pgspecial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dbcli/pgspecial/downloads","issues_url":"https://api.github.com/repos/dbcli/pgspecial/issues{/number}","pulls_url":"https://api.github.com/repos/dbcli/pgspecial/pulls{/number}","milestones_url":"https://api.github.com/repos/dbcli/pgspecial/milestones{/number}","notifications_url":"https://api.github.com/repos/dbcli/pgspecial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dbcli/pgspecial/labels{/name}","releases_url":"https://api.github.com/repos/dbcli/pgspecial/releases{/id}","created_at":"2015-08-22T19:28:06Z","updated_at":"2015-09-29T18:34:52Z","pushed_at":"2015-10-26T13:04:22Z","git_url":"git://github.com/dbcli/pgspecial.git","ssh_url":"git@github.com:dbcli/pgspecial.git","clone_url":"https://github.com/dbcli/pgspecial.git","svn_url":"https://github.com/dbcli/pgspecial","homepage":null,"size":312,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dbcli/pgspecial/pulls/6"},"html":{"href":"https://github.com/dbcli/pgspecial/pull/6"},"issue":{"href":"https://api.github.com/repos/dbcli/pgspecial/issues/6"},"comments":{"href":"https://api.github.com/repos/dbcli/pgspecial/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/dbcli/pgspecial/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/dbcli/pgspecial/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dbcli/pgspecial/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/dbcli/pgspecial/statuses/c6ec52b5f317a3172fad49bd4180b224f092789c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":37,"deletions":2,"changed_files":1}}