{"action":"created","comment":{"url":"https://api.github.com/repos/timescale/timescaledb/pulls/comments/152259885","pull_request_review_id":78090498,"id":152259885,"diff_hunk":"@@ -565,3 +565,11 @@ BEGIN\n     END LOOP;\n END\n $BODY$;\n+\n+\n+--documentation of these function located in chunk_index.h\n+CREATE OR REPLACE FUNCTION _timescaledb_internal.chunk_index_recreate_create(chunk_index_oid OID) RETURNS OID","path":"sql/ddl_internal.sql","position":7,"original_position":7,"commit_id":"4e0e6073ad00f3fb36fa1b867847c237dcd9a715","original_commit_id":"4e0e6073ad00f3fb36fa1b867847c237dcd9a715","user":{"login":"erimatnor","id":819732,"avatar_url":"https://avatars3.githubusercontent.com/u/819732?v=4","gravatar_id":"","url":"https://api.github.com/users/erimatnor","html_url":"https://github.com/erimatnor","followers_url":"https://api.github.com/users/erimatnor/followers","following_url":"https://api.github.com/users/erimatnor/following{/other_user}","gists_url":"https://api.github.com/users/erimatnor/gists{/gist_id}","starred_url":"https://api.github.com/users/erimatnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erimatnor/subscriptions","organizations_url":"https://api.github.com/users/erimatnor/orgs","repos_url":"https://api.github.com/users/erimatnor/repos","events_url":"https://api.github.com/users/erimatnor/events{/privacy}","received_events_url":"https://api.github.com/users/erimatnor/received_events","type":"User","site_admin":false},"body":"Weird name, why not simply `chunk_index_clone()` or something?","created_at":"2017-11-21T12:27:44Z","updated_at":"2017-11-21T12:53:20Z","html_url":"https://github.com/timescale/timescaledb/pull/250#discussion_r152259885","pull_request_url":"https://api.github.com/repos/timescale/timescaledb/pulls/250","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/timescale/timescaledb/pulls/comments/152259885"},"html":{"href":"https://github.com/timescale/timescaledb/pull/250#discussion_r152259885"},"pull_request":{"href":"https://api.github.com/repos/timescale/timescaledb/pulls/250"}}},"pull_request":{"url":"https://api.github.com/repos/timescale/timescaledb/pulls/250","id":145752570,"html_url":"https://github.com/timescale/timescaledb/pull/250","diff_url":"https://github.com/timescale/timescaledb/pull/250.diff","patch_url":"https://github.com/timescale/timescaledb/pull/250.patch","issue_url":"https://api.github.com/repos/timescale/timescaledb/issues/250","number":250,"state":"open","locked":false,"title":"Add reindex_chunk function","user":{"login":"cevian","id":112245,"avatar_url":"https://avatars0.githubusercontent.com/u/112245?v=4","gravatar_id":"","url":"https://api.github.com/users/cevian","html_url":"https://github.com/cevian","followers_url":"https://api.github.com/users/cevian/followers","following_url":"https://api.github.com/users/cevian/following{/other_user}","gists_url":"https://api.github.com/users/cevian/gists{/gist_id}","starred_url":"https://api.github.com/users/cevian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cevian/subscriptions","organizations_url":"https://api.github.com/users/cevian/orgs","repos_url":"https://api.github.com/users/cevian/repos","events_url":"https://api.github.com/users/cevian/events{/privacy}","received_events_url":"https://api.github.com/users/cevian/received_events","type":"User","site_admin":false},"body":"reindex_chunk allows you to reindex the indexes of only certain chunks,\r\nfiltering by time. This is a common use case because a user may\r\nwant to reindex chunks after they are no longer getting new data once.\r\n\r\nreindex_create also has a recreate option which will not use REINDEX\r\nbut will rather CREATE INDEX a new index and then\r\nDROP INDEX / RENAME new_index to old_name. This approach has advantages\r\nin terms of blocking reads for a much shorter period of time. However,\r\nit does more work and will use more disk space during the operation.","created_at":"2017-10-10T17:20:33Z","updated_at":"2017-11-21T12:53:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"14d84ab4bbf491a4a348711f18031dca0116359a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"olofr","id":5636564,"avatar_url":"https://avatars2.githubusercontent.com/u/5636564?v=4","gravatar_id":"","url":"https://api.github.com/users/olofr","html_url":"https://github.com/olofr","followers_url":"https://api.github.com/users/olofr/followers","following_url":"https://api.github.com/users/olofr/following{/other_user}","gists_url":"https://api.github.com/users/olofr/gists{/gist_id}","starred_url":"https://api.github.com/users/olofr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olofr/subscriptions","organizations_url":"https://api.github.com/users/olofr/orgs","repos_url":"https://api.github.com/users/olofr/repos","events_url":"https://api.github.com/users/olofr/events{/privacy}","received_events_url":"https://api.github.com/users/olofr/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/timescale/timescaledb/milestones/9","html_url":"https://github.com/timescale/timescaledb/milestone/9","labels_url":"https://api.github.com/repos/timescale/timescaledb/milestones/9/labels","id":2829064,"number":9,"title":"0.7.0","description":"","creator":{"login":"mfreed","id":205086,"avatar_url":"https://avatars3.githubusercontent.com/u/205086?v=4","gravatar_id":"","url":"https://api.github.com/users/mfreed","html_url":"https://github.com/mfreed","followers_url":"https://api.github.com/users/mfreed/followers","following_url":"https://api.github.com/users/mfreed/following{/other_user}","gists_url":"https://api.github.com/users/mfreed/gists{/gist_id}","starred_url":"https://api.github.com/users/mfreed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfreed/subscriptions","organizations_url":"https://api.github.com/users/mfreed/orgs","repos_url":"https://api.github.com/users/mfreed/repos","events_url":"https://api.github.com/users/mfreed/events{/privacy}","received_events_url":"https://api.github.com/users/mfreed/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":17,"state":"open","created_at":"2017-10-11T01:24:13Z","updated_at":"2017-11-21T03:15:17Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/timescale/timescaledb/pulls/250/commits","review_comments_url":"https://api.github.com/repos/timescale/timescaledb/pulls/250/comments","review_comment_url":"https://api.github.com/repos/timescale/timescaledb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/timescale/timescaledb/issues/250/comments","statuses_url":"https://api.github.com/repos/timescale/timescaledb/statuses/4e0e6073ad00f3fb36fa1b867847c237dcd9a715","head":{"label":"timescale:add-reindex-chunk","ref":"add-reindex-chunk","sha":"4e0e6073ad00f3fb36fa1b867847c237dcd9a715","user":{"login":"timescale","id":8986001,"avatar_url":"https://avatars3.githubusercontent.com/u/8986001?v=4","gravatar_id":"","url":"https://api.github.com/users/timescale","html_url":"https://github.com/timescale","followers_url":"https://api.github.com/users/timescale/followers","following_url":"https://api.github.com/users/timescale/following{/other_user}","gists_url":"https://api.github.com/users/timescale/gists{/gist_id}","starred_url":"https://api.github.com/users/timescale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timescale/subscriptions","organizations_url":"https://api.github.com/users/timescale/orgs","repos_url":"https://api.github.com/users/timescale/repos","events_url":"https://api.github.com/users/timescale/events{/privacy}","received_events_url":"https://api.github.com/users/timescale/received_events","type":"Organization","site_admin":false},"repo":{"id":84240850,"name":"timescaledb","full_name":"timescale/timescaledb","owner":{"login":"timescale","id":8986001,"avatar_url":"https://avatars3.githubusercontent.com/u/8986001?v=4","gravatar_id":"","url":"https://api.github.com/users/timescale","html_url":"https://github.com/timescale","followers_url":"https://api.github.com/users/timescale/followers","following_url":"https://api.github.com/users/timescale/following{/other_user}","gists_url":"https://api.github.com/users/timescale/gists{/gist_id}","starred_url":"https://api.github.com/users/timescale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timescale/subscriptions","organizations_url":"https://api.github.com/users/timescale/orgs","repos_url":"https://api.github.com/users/timescale/repos","events_url":"https://api.github.com/users/timescale/events{/privacy}","received_events_url":"https://api.github.com/users/timescale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/timescale/timescaledb","description":"An open-source time-series database optimized for fast ingest and complex queries.  Engineered up from PostgreSQL, packaged as an extension.","fork":false,"url":"https://api.github.com/repos/timescale/timescaledb","forks_url":"https://api.github.com/repos/timescale/timescaledb/forks","keys_url":"https://api.github.com/repos/timescale/timescaledb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timescale/timescaledb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timescale/timescaledb/teams","hooks_url":"https://api.github.com/repos/timescale/timescaledb/hooks","issue_events_url":"https://api.github.com/repos/timescale/timescaledb/issues/events{/number}","events_url":"https://api.github.com/repos/timescale/timescaledb/events","assignees_url":"https://api.github.com/repos/timescale/timescaledb/assignees{/user}","branches_url":"https://api.github.com/repos/timescale/timescaledb/branches{/branch}","tags_url":"https://api.github.com/repos/timescale/timescaledb/tags","blobs_url":"https://api.github.com/repos/timescale/timescaledb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timescale/timescaledb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timescale/timescaledb/git/refs{/sha}","trees_url":"https://api.github.com/repos/timescale/timescaledb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timescale/timescaledb/statuses/{sha}","languages_url":"https://api.github.com/repos/timescale/timescaledb/languages","stargazers_url":"https://api.github.com/repos/timescale/timescaledb/stargazers","contributors_url":"https://api.github.com/repos/timescale/timescaledb/contributors","subscribers_url":"https://api.github.com/repos/timescale/timescaledb/subscribers","subscription_url":"https://api.github.com/repos/timescale/timescaledb/subscription","commits_url":"https://api.github.com/repos/timescale/timescaledb/commits{/sha}","git_commits_url":"https://api.github.com/repos/timescale/timescaledb/git/commits{/sha}","comments_url":"https://api.github.com/repos/timescale/timescaledb/comments{/number}","issue_comment_url":"https://api.github.com/repos/timescale/timescaledb/issues/comments{/number}","contents_url":"https://api.github.com/repos/timescale/timescaledb/contents/{+path}","compare_url":"https://api.github.com/repos/timescale/timescaledb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timescale/timescaledb/merges","archive_url":"https://api.github.com/repos/timescale/timescaledb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timescale/timescaledb/downloads","issues_url":"https://api.github.com/repos/timescale/timescaledb/issues{/number}","pulls_url":"https://api.github.com/repos/timescale/timescaledb/pulls{/number}","milestones_url":"https://api.github.com/repos/timescale/timescaledb/milestones{/number}","notifications_url":"https://api.github.com/repos/timescale/timescaledb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timescale/timescaledb/labels{/name}","releases_url":"https://api.github.com/repos/timescale/timescaledb/releases{/id}","deployments_url":"https://api.github.com/repos/timescale/timescaledb/deployments","created_at":"2017-03-07T20:03:41Z","updated_at":"2017-11-21T09:02:38Z","pushed_at":"2017-11-21T05:48:11Z","git_url":"git://github.com/timescale/timescaledb.git","ssh_url":"git@github.com:timescale/timescaledb.git","clone_url":"https://github.com/timescale/timescaledb.git","svn_url":"https://github.com/timescale/timescaledb","homepage":"http://www.timescale.com/","size":2094,"stargazers_count":3181,"watchers_count":3181,"language":"PLpgSQL","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":138,"mirror_url":null,"archived":false,"open_issues_count":40,"forks":138,"open_issues":40,"watchers":3181,"default_branch":"master"}},"base":{"label":"timescale:master","ref":"master","sha":"818bdbc31b0d24f69d7c37a244166c06b185b211","user":{"login":"timescale","id":8986001,"avatar_url":"https://avatars3.githubusercontent.com/u/8986001?v=4","gravatar_id":"","url":"https://api.github.com/users/timescale","html_url":"https://github.com/timescale","followers_url":"https://api.github.com/users/timescale/followers","following_url":"https://api.github.com/users/timescale/following{/other_user}","gists_url":"https://api.github.com/users/timescale/gists{/gist_id}","starred_url":"https://api.github.com/users/timescale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timescale/subscriptions","organizations_url":"https://api.github.com/users/timescale/orgs","repos_url":"https://api.github.com/users/timescale/repos","events_url":"https://api.github.com/users/timescale/events{/privacy}","received_events_url":"https://api.github.com/users/timescale/received_events","type":"Organization","site_admin":false},"repo":{"id":84240850,"name":"timescaledb","full_name":"timescale/timescaledb","owner":{"login":"timescale","id":8986001,"avatar_url":"https://avatars3.githubusercontent.com/u/8986001?v=4","gravatar_id":"","url":"https://api.github.com/users/timescale","html_url":"https://github.com/timescale","followers_url":"https://api.github.com/users/timescale/followers","following_url":"https://api.github.com/users/timescale/following{/other_user}","gists_url":"https://api.github.com/users/timescale/gists{/gist_id}","starred_url":"https://api.github.com/users/timescale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timescale/subscriptions","organizations_url":"https://api.github.com/users/timescale/orgs","repos_url":"https://api.github.com/users/timescale/repos","events_url":"https://api.github.com/users/timescale/events{/privacy}","received_events_url":"https://api.github.com/users/timescale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/timescale/timescaledb","description":"An open-source time-series database optimized for fast ingest and complex queries.  Engineered up from PostgreSQL, packaged as an extension.","fork":false,"url":"https://api.github.com/repos/timescale/timescaledb","forks_url":"https://api.github.com/repos/timescale/timescaledb/forks","keys_url":"https://api.github.com/repos/timescale/timescaledb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timescale/timescaledb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timescale/timescaledb/teams","hooks_url":"https://api.github.com/repos/timescale/timescaledb/hooks","issue_events_url":"https://api.github.com/repos/timescale/timescaledb/issues/events{/number}","events_url":"https://api.github.com/repos/timescale/timescaledb/events","assignees_url":"https://api.github.com/repos/timescale/timescaledb/assignees{/user}","branches_url":"https://api.github.com/repos/timescale/timescaledb/branches{/branch}","tags_url":"https://api.github.com/repos/timescale/timescaledb/tags","blobs_url":"https://api.github.com/repos/timescale/timescaledb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timescale/timescaledb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timescale/timescaledb/git/refs{/sha}","trees_url":"https://api.github.com/repos/timescale/timescaledb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timescale/timescaledb/statuses/{sha}","languages_url":"https://api.github.com/repos/timescale/timescaledb/languages","stargazers_url":"https://api.github.com/repos/timescale/timescaledb/stargazers","contributors_url":"https://api.github.com/repos/timescale/timescaledb/contributors","subscribers_url":"https://api.github.com/repos/timescale/timescaledb/subscribers","subscription_url":"https://api.github.com/repos/timescale/timescaledb/subscription","commits_url":"https://api.github.com/repos/timescale/timescaledb/commits{/sha}","git_commits_url":"https://api.github.com/repos/timescale/timescaledb/git/commits{/sha}","comments_url":"https://api.github.com/repos/timescale/timescaledb/comments{/number}","issue_comment_url":"https://api.github.com/repos/timescale/timescaledb/issues/comments{/number}","contents_url":"https://api.github.com/repos/timescale/timescaledb/contents/{+path}","compare_url":"https://api.github.com/repos/timescale/timescaledb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timescale/timescaledb/merges","archive_url":"https://api.github.com/repos/timescale/timescaledb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timescale/timescaledb/downloads","issues_url":"https://api.github.com/repos/timescale/timescaledb/issues{/number}","pulls_url":"https://api.github.com/repos/timescale/timescaledb/pulls{/number}","milestones_url":"https://api.github.com/repos/timescale/timescaledb/milestones{/number}","notifications_url":"https://api.github.com/repos/timescale/timescaledb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timescale/timescaledb/labels{/name}","releases_url":"https://api.github.com/repos/timescale/timescaledb/releases{/id}","deployments_url":"https://api.github.com/repos/timescale/timescaledb/deployments","created_at":"2017-03-07T20:03:41Z","updated_at":"2017-11-21T09:02:38Z","pushed_at":"2017-11-21T05:48:11Z","git_url":"git://github.com/timescale/timescaledb.git","ssh_url":"git@github.com:timescale/timescaledb.git","clone_url":"https://github.com/timescale/timescaledb.git","svn_url":"https://github.com/timescale/timescaledb","homepage":"http://www.timescale.com/","size":2094,"stargazers_count":3181,"watchers_count":3181,"language":"PLpgSQL","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":138,"mirror_url":null,"archived":false,"open_issues_count":40,"forks":138,"open_issues":40,"watchers":3181,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/timescale/timescaledb/pulls/250"},"html":{"href":"https://github.com/timescale/timescaledb/pull/250"},"issue":{"href":"https://api.github.com/repos/timescale/timescaledb/issues/250"},"comments":{"href":"https://api.github.com/repos/timescale/timescaledb/issues/250/comments"},"review_comments":{"href":"https://api.github.com/repos/timescale/timescaledb/pulls/250/comments"},"review_comment":{"href":"https://api.github.com/repos/timescale/timescaledb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/timescale/timescaledb/pulls/250/commits"},"statuses":{"href":"https://api.github.com/repos/timescale/timescaledb/statuses/4e0e6073ad00f3fb36fa1b867847c237dcd9a715"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"erimatnor"}}