{"action":"opened","number":110,"pull_request":{"url":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/110","id":78666368,"html_url":"https://github.com/citusdata/cstore_fdw/pull/110","diff_url":"https://github.com/citusdata/cstore_fdw/pull/110.diff","patch_url":"https://github.com/citusdata/cstore_fdw/pull/110.patch","issue_url":"https://api.github.com/repos/citusdata/cstore_fdw/issues/110","number":110,"state":"open","locked":false,"title":"detect indirectly dropped cstore tables for resource cleanup","user":{"login":"mtuncer","id":9413470,"avatar_url":"https://avatars.githubusercontent.com/u/9413470?v=3","gravatar_id":"","url":"https://api.github.com/users/mtuncer","html_url":"https://github.com/mtuncer","followers_url":"https://api.github.com/users/mtuncer/followers","following_url":"https://api.github.com/users/mtuncer/following{/other_user}","gists_url":"https://api.github.com/users/mtuncer/gists{/gist_id}","starred_url":"https://api.github.com/users/mtuncer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtuncer/subscriptions","organizations_url":"https://api.github.com/users/mtuncer/orgs","repos_url":"https://api.github.com/users/mtuncer/repos","events_url":"https://api.github.com/users/mtuncer/events{/privacy}","received_events_url":"https://api.github.com/users/mtuncer/received_events","type":"User","site_admin":false},"body":"We were only checking```drop foreign table``` statements when cleaning up cstore data file contents. This approach did not work when a cstore table is dropped as a side effect i.e. when ```drop schema ... cascade```.\r\n\r\nThis change makes cstore to listen to ```object_access_hook``` and detect dropped cstore files by checking object drop events.\r\n\r\nfixes #92 ","created_at":"2016-07-25T11:34:29Z","updated_at":"2016-07-25T11:34:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/110/commits","review_comments_url":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/110/comments","review_comment_url":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/citusdata/cstore_fdw/issues/110/comments","statuses_url":"https://api.github.com/repos/citusdata/cstore_fdw/statuses/2a66b09b5d0f0a87f55c6666712a10d22a10ecd4","head":{"label":"citusdata:fix_92_drop_cascade","ref":"fix_92_drop_cascade","sha":"2a66b09b5d0f0a87f55c6666712a10d22a10ecd4","user":{"login":"citusdata","id":2545424,"avatar_url":"https://avatars.githubusercontent.com/u/2545424?v=3","gravatar_id":"","url":"https://api.github.com/users/citusdata","html_url":"https://github.com/citusdata","followers_url":"https://api.github.com/users/citusdata/followers","following_url":"https://api.github.com/users/citusdata/following{/other_user}","gists_url":"https://api.github.com/users/citusdata/gists{/gist_id}","starred_url":"https://api.github.com/users/citusdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citusdata/subscriptions","organizations_url":"https://api.github.com/users/citusdata/orgs","repos_url":"https://api.github.com/users/citusdata/repos","events_url":"https://api.github.com/users/citusdata/events{/privacy}","received_events_url":"https://api.github.com/users/citusdata/received_events","type":"Organization","site_admin":false},"repo":{"id":18400513,"name":"cstore_fdw","full_name":"citusdata/cstore_fdw","owner":{"login":"citusdata","id":2545424,"avatar_url":"https://avatars.githubusercontent.com/u/2545424?v=3","gravatar_id":"","url":"https://api.github.com/users/citusdata","html_url":"https://github.com/citusdata","followers_url":"https://api.github.com/users/citusdata/followers","following_url":"https://api.github.com/users/citusdata/following{/other_user}","gists_url":"https://api.github.com/users/citusdata/gists{/gist_id}","starred_url":"https://api.github.com/users/citusdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citusdata/subscriptions","organizations_url":"https://api.github.com/users/citusdata/orgs","repos_url":"https://api.github.com/users/citusdata/repos","events_url":"https://api.github.com/users/citusdata/events{/privacy}","received_events_url":"https://api.github.com/users/citusdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/citusdata/cstore_fdw","description":"Columnar store for analytics with PostgreSQL. Check out the mailing list at https://groups.google.com/forum/#!forum/cstore-users.","fork":false,"url":"https://api.github.com/repos/citusdata/cstore_fdw","forks_url":"https://api.github.com/repos/citusdata/cstore_fdw/forks","keys_url":"https://api.github.com/repos/citusdata/cstore_fdw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/citusdata/cstore_fdw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/citusdata/cstore_fdw/teams","hooks_url":"https://api.github.com/repos/citusdata/cstore_fdw/hooks","issue_events_url":"https://api.github.com/repos/citusdata/cstore_fdw/issues/events{/number}","events_url":"https://api.github.com/repos/citusdata/cstore_fdw/events","assignees_url":"https://api.github.com/repos/citusdata/cstore_fdw/assignees{/user}","branches_url":"https://api.github.com/repos/citusdata/cstore_fdw/branches{/branch}","tags_url":"https://api.github.com/repos/citusdata/cstore_fdw/tags","blobs_url":"https://api.github.com/repos/citusdata/cstore_fdw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/citusdata/cstore_fdw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/citusdata/cstore_fdw/git/refs{/sha}","trees_url":"https://api.github.com/repos/citusdata/cstore_fdw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/citusdata/cstore_fdw/statuses/{sha}","languages_url":"https://api.github.com/repos/citusdata/cstore_fdw/languages","stargazers_url":"https://api.github.com/repos/citusdata/cstore_fdw/stargazers","contributors_url":"https://api.github.com/repos/citusdata/cstore_fdw/contributors","subscribers_url":"https://api.github.com/repos/citusdata/cstore_fdw/subscribers","subscription_url":"https://api.github.com/repos/citusdata/cstore_fdw/subscription","commits_url":"https://api.github.com/repos/citusdata/cstore_fdw/commits{/sha}","git_commits_url":"https://api.github.com/repos/citusdata/cstore_fdw/git/commits{/sha}","comments_url":"https://api.github.com/repos/citusdata/cstore_fdw/comments{/number}","issue_comment_url":"https://api.github.com/repos/citusdata/cstore_fdw/issues/comments{/number}","contents_url":"https://api.github.com/repos/citusdata/cstore_fdw/contents/{+path}","compare_url":"https://api.github.com/repos/citusdata/cstore_fdw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/citusdata/cstore_fdw/merges","archive_url":"https://api.github.com/repos/citusdata/cstore_fdw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/citusdata/cstore_fdw/downloads","issues_url":"https://api.github.com/repos/citusdata/cstore_fdw/issues{/number}","pulls_url":"https://api.github.com/repos/citusdata/cstore_fdw/pulls{/number}","milestones_url":"https://api.github.com/repos/citusdata/cstore_fdw/milestones{/number}","notifications_url":"https://api.github.com/repos/citusdata/cstore_fdw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/citusdata/cstore_fdw/labels{/name}","releases_url":"https://api.github.com/repos/citusdata/cstore_fdw/releases{/id}","deployments_url":"https://api.github.com/repos/citusdata/cstore_fdw/deployments","created_at":"2014-04-03T11:24:43Z","updated_at":"2016-07-25T08:05:45Z","pushed_at":"2016-07-25T11:34:29Z","git_url":"git://github.com/citusdata/cstore_fdw.git","ssh_url":"git@github.com:citusdata/cstore_fdw.git","clone_url":"https://github.com/citusdata/cstore_fdw.git","svn_url":"https://github.com/citusdata/cstore_fdw","homepage":"","size":698,"stargazers_count":671,"watchers_count":671,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":61,"mirror_url":null,"open_issues_count":25,"forks":61,"open_issues":25,"watchers":671,"default_branch":"master"}},"base":{"label":"citusdata:master","ref":"master","sha":"49ad76e9f6e0e6625431d19b6912f891b0b24e31","user":{"login":"citusdata","id":2545424,"avatar_url":"https://avatars.githubusercontent.com/u/2545424?v=3","gravatar_id":"","url":"https://api.github.com/users/citusdata","html_url":"https://github.com/citusdata","followers_url":"https://api.github.com/users/citusdata/followers","following_url":"https://api.github.com/users/citusdata/following{/other_user}","gists_url":"https://api.github.com/users/citusdata/gists{/gist_id}","starred_url":"https://api.github.com/users/citusdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citusdata/subscriptions","organizations_url":"https://api.github.com/users/citusdata/orgs","repos_url":"https://api.github.com/users/citusdata/repos","events_url":"https://api.github.com/users/citusdata/events{/privacy}","received_events_url":"https://api.github.com/users/citusdata/received_events","type":"Organization","site_admin":false},"repo":{"id":18400513,"name":"cstore_fdw","full_name":"citusdata/cstore_fdw","owner":{"login":"citusdata","id":2545424,"avatar_url":"https://avatars.githubusercontent.com/u/2545424?v=3","gravatar_id":"","url":"https://api.github.com/users/citusdata","html_url":"https://github.com/citusdata","followers_url":"https://api.github.com/users/citusdata/followers","following_url":"https://api.github.com/users/citusdata/following{/other_user}","gists_url":"https://api.github.com/users/citusdata/gists{/gist_id}","starred_url":"https://api.github.com/users/citusdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citusdata/subscriptions","organizations_url":"https://api.github.com/users/citusdata/orgs","repos_url":"https://api.github.com/users/citusdata/repos","events_url":"https://api.github.com/users/citusdata/events{/privacy}","received_events_url":"https://api.github.com/users/citusdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/citusdata/cstore_fdw","description":"Columnar store for analytics with PostgreSQL. Check out the mailing list at https://groups.google.com/forum/#!forum/cstore-users.","fork":false,"url":"https://api.github.com/repos/citusdata/cstore_fdw","forks_url":"https://api.github.com/repos/citusdata/cstore_fdw/forks","keys_url":"https://api.github.com/repos/citusdata/cstore_fdw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/citusdata/cstore_fdw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/citusdata/cstore_fdw/teams","hooks_url":"https://api.github.com/repos/citusdata/cstore_fdw/hooks","issue_events_url":"https://api.github.com/repos/citusdata/cstore_fdw/issues/events{/number}","events_url":"https://api.github.com/repos/citusdata/cstore_fdw/events","assignees_url":"https://api.github.com/repos/citusdata/cstore_fdw/assignees{/user}","branches_url":"https://api.github.com/repos/citusdata/cstore_fdw/branches{/branch}","tags_url":"https://api.github.com/repos/citusdata/cstore_fdw/tags","blobs_url":"https://api.github.com/repos/citusdata/cstore_fdw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/citusdata/cstore_fdw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/citusdata/cstore_fdw/git/refs{/sha}","trees_url":"https://api.github.com/repos/citusdata/cstore_fdw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/citusdata/cstore_fdw/statuses/{sha}","languages_url":"https://api.github.com/repos/citusdata/cstore_fdw/languages","stargazers_url":"https://api.github.com/repos/citusdata/cstore_fdw/stargazers","contributors_url":"https://api.github.com/repos/citusdata/cstore_fdw/contributors","subscribers_url":"https://api.github.com/repos/citusdata/cstore_fdw/subscribers","subscription_url":"https://api.github.com/repos/citusdata/cstore_fdw/subscription","commits_url":"https://api.github.com/repos/citusdata/cstore_fdw/commits{/sha}","git_commits_url":"https://api.github.com/repos/citusdata/cstore_fdw/git/commits{/sha}","comments_url":"https://api.github.com/repos/citusdata/cstore_fdw/comments{/number}","issue_comment_url":"https://api.github.com/repos/citusdata/cstore_fdw/issues/comments{/number}","contents_url":"https://api.github.com/repos/citusdata/cstore_fdw/contents/{+path}","compare_url":"https://api.github.com/repos/citusdata/cstore_fdw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/citusdata/cstore_fdw/merges","archive_url":"https://api.github.com/repos/citusdata/cstore_fdw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/citusdata/cstore_fdw/downloads","issues_url":"https://api.github.com/repos/citusdata/cstore_fdw/issues{/number}","pulls_url":"https://api.github.com/repos/citusdata/cstore_fdw/pulls{/number}","milestones_url":"https://api.github.com/repos/citusdata/cstore_fdw/milestones{/number}","notifications_url":"https://api.github.com/repos/citusdata/cstore_fdw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/citusdata/cstore_fdw/labels{/name}","releases_url":"https://api.github.com/repos/citusdata/cstore_fdw/releases{/id}","deployments_url":"https://api.github.com/repos/citusdata/cstore_fdw/deployments","created_at":"2014-04-03T11:24:43Z","updated_at":"2016-07-25T08:05:45Z","pushed_at":"2016-07-25T11:34:29Z","git_url":"git://github.com/citusdata/cstore_fdw.git","ssh_url":"git@github.com:citusdata/cstore_fdw.git","clone_url":"https://github.com/citusdata/cstore_fdw.git","svn_url":"https://github.com/citusdata/cstore_fdw","homepage":"","size":698,"stargazers_count":671,"watchers_count":671,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":61,"mirror_url":null,"open_issues_count":25,"forks":61,"open_issues":25,"watchers":671,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/110"},"html":{"href":"https://github.com/citusdata/cstore_fdw/pull/110"},"issue":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/issues/110"},"comments":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/statuses/2a66b09b5d0f0a87f55c6666712a10d22a10ecd4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":109,"deletions":37,"changed_files":5}}
{"actor":{"display_login":"mtuncer"}}