{"action":"created","issue":{"url":"https://api.github.com/repos/greenplum-db/gpdb/issues/4988","repository_url":"https://api.github.com/repos/greenplum-db/gpdb","labels_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/4988/labels{/name}","comments_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/4988/comments","events_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/4988/events","html_url":"https://github.com/greenplum-db/gpdb/pull/4988","id":323205612,"number":4988,"title":"Support plpython cancellation.","user":{"login":"zhangh43","id":10432876,"avatar_url":"https://avatars2.githubusercontent.com/u/10432876?v=4","gravatar_id":"","url":"https://api.github.com/users/zhangh43","html_url":"https://github.com/zhangh43","followers_url":"https://api.github.com/users/zhangh43/followers","following_url":"https://api.github.com/users/zhangh43/following{/other_user}","gists_url":"https://api.github.com/users/zhangh43/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangh43/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangh43/subscriptions","organizations_url":"https://api.github.com/users/zhangh43/orgs","repos_url":"https://api.github.com/users/zhangh43/repos","events_url":"https://api.github.com/users/zhangh43/events{/privacy}","received_events_url":"https://api.github.com/users/zhangh43/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-15T12:56:31Z","updated_at":"2018-05-18T02:09:36Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/4988","html_url":"https://github.com/greenplum-db/gpdb/pull/4988","diff_url":"https://github.com/greenplum-db/gpdb/pull/4988.diff","patch_url":"https://github.com/greenplum-db/gpdb/pull/4988.patch"},"body":"Add hook framework in signal handlers, e.g. StatementCancelHandler or die,\r\nto cancel the slow function in a 3rd party library.\r\n\r\nAdd PLy_handle_cancel_interrupt hook to cancel plpython, which use\r\nPy_AddPendingCall to cancel embedded python asynchronously.\r\n\r\nThis PR is based on Hekki's initial patch on cancel plpython on postgresql."},"comment":{"url":"https://api.github.com/repos/greenplum-db/gpdb/issues/comments/390072882","html_url":"https://github.com/greenplum-db/gpdb/pull/4988#issuecomment-390072882","issue_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/4988","id":390072882,"user":{"login":"HaozhouWang","id":17537131,"avatar_url":"https://avatars2.githubusercontent.com/u/17537131?v=4","gravatar_id":"","url":"https://api.github.com/users/HaozhouWang","html_url":"https://github.com/HaozhouWang","followers_url":"https://api.github.com/users/HaozhouWang/followers","following_url":"https://api.github.com/users/HaozhouWang/following{/other_user}","gists_url":"https://api.github.com/users/HaozhouWang/gists{/gist_id}","starred_url":"https://api.github.com/users/HaozhouWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaozhouWang/subscriptions","organizations_url":"https://api.github.com/users/HaozhouWang/orgs","repos_url":"https://api.github.com/users/HaozhouWang/repos","events_url":"https://api.github.com/users/HaozhouWang/events{/privacy}","received_events_url":"https://api.github.com/users/HaozhouWang/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T02:09:36Z","updated_at":"2018-05-18T02:09:36Z","author_association":"MEMBER","body":"LGTM"}}
{"actor":{"display_login":"HaozhouWang"}}