{"action":"created","comment":{"url":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/comments/22640834","id":22640834,"diff_hunk":"@@ -200,6 +214,85 @@ CStoreReadFooter(StringInfo tableFooterFilename)\n }\n \n \n+/* DeserializeBlockData  deserializes requested data block for all columns. It\n+ * uncompresses serialized data if necessary, sets deserialized buffer index at\n+ * read state. The function also deallocates previous data buffer used to keep temporary\n+ * uncompressed data buffer.\n+ */\n+static void\n+DeserializeBlockData(TupleDesc tupleDescriptor, StripeData *stripeData,","path":"cstore_reader.c","position":67,"original_position":67,"commit_id":"da9fe3345bd729dc50946917c0fc50a5dae9ed4c","original_commit_id":"da9fe3345bd729dc50946917c0fc50a5dae9ed4c","user":{"login":"pykello","id":628106,"avatar_url":"https://avatars.githubusercontent.com/u/628106?v=3","gravatar_id":"","url":"https://api.github.com/users/pykello","html_url":"https://github.com/pykello","followers_url":"https://api.github.com/users/pykello/followers","following_url":"https://api.github.com/users/pykello/following{/other_user}","gists_url":"https://api.github.com/users/pykello/gists{/gist_id}","starred_url":"https://api.github.com/users/pykello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pykello/subscriptions","organizations_url":"https://api.github.com/users/pykello/orgs","repos_url":"https://api.github.com/users/pykello/repos","events_url":"https://api.github.com/users/pykello/events{/privacy}","received_events_url":"https://api.github.com/users/pykello/received_events","type":"User","site_admin":false},"body":"Very minor. The only field from ```tupleDescriptor``` that we are using is ```atts```. Can we pass only that?","created_at":"2015-01-08T08:59:35Z","updated_at":"2015-01-08T08:59:35Z","html_url":"https://github.com/citusdata/cstore_fdw/pull/43#discussion_r22640834","pull_request_url":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/comments/22640834"},"html":{"href":"https://github.com/citusdata/cstore_fdw/pull/43#discussion_r22640834"},"pull_request":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/43","id":26549135,"html_url":"https://github.com/citusdata/cstore_fdw/pull/43","diff_url":"https://github.com/citusdata/cstore_fdw/pull/43.diff","patch_url":"https://github.com/citusdata/cstore_fdw/pull/43.patch","issue_url":"https://api.github.com/repos/citusdata/cstore_fdw/issues/43","number":43,"state":"open","locked":false,"title":"memory usage optimizations for read and write operations","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":"","created_at":"2014-12-24T08:04:43Z","updated_at":"2015-01-08T08:59:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"69295e29d5b7b3ace197fbbc222dab64266111bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/43/commits","review_comments_url":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/43/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/43/comments","statuses_url":"https://api.github.com/repos/citusdata/cstore_fdw/statuses/da9fe3345bd729dc50946917c0fc50a5dae9ed4c","head":{"label":"mtuncer:develop","ref":"develop","sha":"da9fe3345bd729dc50946917c0fc50a5dae9ed4c","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},"repo":{"id":26799055,"name":"cstore_fdw","full_name":"mtuncer/cstore_fdw","owner":{"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},"private":false,"html_url":"https://github.com/mtuncer/cstore_fdw","description":"Fast columnar store for analytics with PostgreSQL","fork":true,"url":"https://api.github.com/repos/mtuncer/cstore_fdw","forks_url":"https://api.github.com/repos/mtuncer/cstore_fdw/forks","keys_url":"https://api.github.com/repos/mtuncer/cstore_fdw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtuncer/cstore_fdw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtuncer/cstore_fdw/teams","hooks_url":"https://api.github.com/repos/mtuncer/cstore_fdw/hooks","issue_events_url":"https://api.github.com/repos/mtuncer/cstore_fdw/issues/events{/number}","events_url":"https://api.github.com/repos/mtuncer/cstore_fdw/events","assignees_url":"https://api.github.com/repos/mtuncer/cstore_fdw/assignees{/user}","branches_url":"https://api.github.com/repos/mtuncer/cstore_fdw/branches{/branch}","tags_url":"https://api.github.com/repos/mtuncer/cstore_fdw/tags","blobs_url":"https://api.github.com/repos/mtuncer/cstore_fdw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtuncer/cstore_fdw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtuncer/cstore_fdw/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtuncer/cstore_fdw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtuncer/cstore_fdw/statuses/{sha}","languages_url":"https://api.github.com/repos/mtuncer/cstore_fdw/languages","stargazers_url":"https://api.github.com/repos/mtuncer/cstore_fdw/stargazers","contributors_url":"https://api.github.com/repos/mtuncer/cstore_fdw/contributors","subscribers_url":"https://api.github.com/repos/mtuncer/cstore_fdw/subscribers","subscription_url":"https://api.github.com/repos/mtuncer/cstore_fdw/subscription","commits_url":"https://api.github.com/repos/mtuncer/cstore_fdw/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtuncer/cstore_fdw/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtuncer/cstore_fdw/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtuncer/cstore_fdw/issues/comments/{number}","contents_url":"https://api.github.com/repos/mtuncer/cstore_fdw/contents/{+path}","compare_url":"https://api.github.com/repos/mtuncer/cstore_fdw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtuncer/cstore_fdw/merges","archive_url":"https://api.github.com/repos/mtuncer/cstore_fdw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtuncer/cstore_fdw/downloads","issues_url":"https://api.github.com/repos/mtuncer/cstore_fdw/issues{/number}","pulls_url":"https://api.github.com/repos/mtuncer/cstore_fdw/pulls{/number}","milestones_url":"https://api.github.com/repos/mtuncer/cstore_fdw/milestones{/number}","notifications_url":"https://api.github.com/repos/mtuncer/cstore_fdw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtuncer/cstore_fdw/labels{/name}","releases_url":"https://api.github.com/repos/mtuncer/cstore_fdw/releases{/id}","created_at":"2014-11-18T08:17:00Z","updated_at":"2014-11-18T08:17:01Z","pushed_at":"2015-01-06T10:02:07Z","git_url":"git://github.com/mtuncer/cstore_fdw.git","ssh_url":"git@github.com:mtuncer/cstore_fdw.git","clone_url":"https://github.com/mtuncer/cstore_fdw.git","svn_url":"https://github.com/mtuncer/cstore_fdw","homepage":"http://citusdata.github.io/cstore_fdw/","size":671,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"citusdata:develop","ref":"develop","sha":"65fc3e3a0e4ef9614f93b78d1fe16bdda848ba17","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":"Fast columnar store for analytics with PostgreSQL","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}","created_at":"2014-04-03T11:24:43Z","updated_at":"2015-01-06T10:56:10Z","pushed_at":"2015-01-07T14:19:54Z","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":"http://citusdata.github.io/cstore_fdw/","size":1049,"stargazers_count":324,"watchers_count":324,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":30,"mirror_url":null,"open_issues_count":15,"forks":30,"open_issues":15,"watchers":324,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/43"},"html":{"href":"https://github.com/citusdata/cstore_fdw/pull/43"},"issue":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/issues/43"},"comments":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/pulls/43/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/43/commits"},"statuses":{"href":"https://api.github.com/repos/citusdata/cstore_fdw/statuses/da9fe3345bd729dc50946917c0fc50a5dae9ed4c"}}}}