{"action":"closed","number":145,"pull_request":{"url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/pulls/145","id":44561871,"html_url":"https://github.com/CartoDB/cartodb-postgresql/pull/145","diff_url":"https://github.com/CartoDB/cartodb-postgresql/pull/145.diff","patch_url":"https://github.com/CartoDB/cartodb-postgresql/pull/145.patch","issue_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/145","number":145,"state":"closed","locked":false,"title":"Do not use random() for the distribution to test CDB_Stats functions","user":{"login":"rochoa","id":45346,"avatar_url":"https://avatars.githubusercontent.com/u/45346?v=3","gravatar_id":"","url":"https://api.github.com/users/rochoa","html_url":"https://github.com/rochoa","followers_url":"https://api.github.com/users/rochoa/followers","following_url":"https://api.github.com/users/rochoa/following{/other_user}","gists_url":"https://api.github.com/users/rochoa/gists{/gist_id}","starred_url":"https://api.github.com/users/rochoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rochoa/subscriptions","organizations_url":"https://api.github.com/users/rochoa/orgs","repos_url":"https://api.github.com/users/rochoa/repos","events_url":"https://api.github.com/users/rochoa/events{/privacy}","received_events_url":"https://api.github.com/users/rochoa/received_events","type":"User","site_admin":false},"body":"Fixes #144","created_at":"2015-09-09T15:09:31Z","updated_at":"2015-09-09T15:12:07Z","closed_at":"2015-09-09T15:12:07Z","merged_at":"2015-09-09T15:12:07Z","merge_commit_sha":"8979dc39defd69d8531eb4e46e148756016a8a51","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/pulls/145/commits","review_comments_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/pulls/145/comments","review_comment_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/145/comments","statuses_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/statuses/1853ee6306b82af35f239d29e8b4df4169082462","head":{"label":"CartoDB:fix-cdb_stats-test","ref":"fix-cdb_stats-test","sha":"1853ee6306b82af35f239d29e8b4df4169082462","user":{"login":"CartoDB","id":1799254,"avatar_url":"https://avatars.githubusercontent.com/u/1799254?v=3","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"repo":{"id":13775488,"name":"cartodb-postgresql","full_name":"CartoDB/cartodb-postgresql","owner":{"login":"CartoDB","id":1799254,"avatar_url":"https://avatars.githubusercontent.com/u/1799254?v=3","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CartoDB/cartodb-postgresql","description":"PostgreSQL extension for CartoDB","fork":false,"url":"https://api.github.com/repos/CartoDB/cartodb-postgresql","forks_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/forks","keys_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/teams","hooks_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/hooks","issue_events_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/events{/number}","events_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/events","assignees_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/assignees{/user}","branches_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/branches{/branch}","tags_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/tags","blobs_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/git/refs{/sha}","trees_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/statuses/{sha}","languages_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/languages","stargazers_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/stargazers","contributors_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/contributors","subscribers_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/subscribers","subscription_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/subscription","commits_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/commits{/sha}","git_commits_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/git/commits{/sha}","comments_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/comments{/number}","issue_comment_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/comments{/number}","contents_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/contents/{+path}","compare_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/merges","archive_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/downloads","issues_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues{/number}","pulls_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/pulls{/number}","milestones_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/milestones{/number}","notifications_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/labels{/name}","releases_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/releases{/id}","created_at":"2013-10-22T14:15:48Z","updated_at":"2015-09-05T16:06:18Z","pushed_at":"2015-09-09T15:12:07Z","git_url":"git://github.com/CartoDB/cartodb-postgresql.git","ssh_url":"git@github.com:CartoDB/cartodb-postgresql.git","clone_url":"https://github.com/CartoDB/cartodb-postgresql.git","svn_url":"https://github.com/CartoDB/cartodb-postgresql","homepage":null,"size":1955,"stargazers_count":21,"watchers_count":21,"language":"PLpgSQL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":32,"forks":15,"open_issues":32,"watchers":21,"default_branch":"master"}},"base":{"label":"CartoDB:master","ref":"master","sha":"c460b59c07a83aea220d849c298ac0b2f61422dc","user":{"login":"CartoDB","id":1799254,"avatar_url":"https://avatars.githubusercontent.com/u/1799254?v=3","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"repo":{"id":13775488,"name":"cartodb-postgresql","full_name":"CartoDB/cartodb-postgresql","owner":{"login":"CartoDB","id":1799254,"avatar_url":"https://avatars.githubusercontent.com/u/1799254?v=3","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CartoDB/cartodb-postgresql","description":"PostgreSQL extension for CartoDB","fork":false,"url":"https://api.github.com/repos/CartoDB/cartodb-postgresql","forks_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/forks","keys_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/teams","hooks_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/hooks","issue_events_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/events{/number}","events_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/events","assignees_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/assignees{/user}","branches_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/branches{/branch}","tags_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/tags","blobs_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/git/refs{/sha}","trees_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/statuses/{sha}","languages_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/languages","stargazers_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/stargazers","contributors_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/contributors","subscribers_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/subscribers","subscription_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/subscription","commits_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/commits{/sha}","git_commits_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/git/commits{/sha}","comments_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/comments{/number}","issue_comment_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/comments{/number}","contents_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/contents/{+path}","compare_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/merges","archive_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/downloads","issues_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues{/number}","pulls_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/pulls{/number}","milestones_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/milestones{/number}","notifications_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/labels{/name}","releases_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/releases{/id}","created_at":"2013-10-22T14:15:48Z","updated_at":"2015-09-05T16:06:18Z","pushed_at":"2015-09-09T15:12:07Z","git_url":"git://github.com/CartoDB/cartodb-postgresql.git","ssh_url":"git@github.com:CartoDB/cartodb-postgresql.git","clone_url":"https://github.com/CartoDB/cartodb-postgresql.git","svn_url":"https://github.com/CartoDB/cartodb-postgresql","homepage":null,"size":1955,"stargazers_count":21,"watchers_count":21,"language":"PLpgSQL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":32,"forks":15,"open_issues":32,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CartoDB/cartodb-postgresql/pulls/145"},"html":{"href":"https://github.com/CartoDB/cartodb-postgresql/pull/145"},"issue":{"href":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/145"},"comments":{"href":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/145/comments"},"review_comments":{"href":"https://api.github.com/repos/CartoDB/cartodb-postgresql/pulls/145/comments"},"review_comment":{"href":"https://api.github.com/repos/CartoDB/cartodb-postgresql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CartoDB/cartodb-postgresql/pulls/145/commits"},"statuses":{"href":"https://api.github.com/repos/CartoDB/cartodb-postgresql/statuses/1853ee6306b82af35f239d29e8b4df4169082462"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rochoa","id":45346,"avatar_url":"https://avatars.githubusercontent.com/u/45346?v=3","gravatar_id":"","url":"https://api.github.com/users/rochoa","html_url":"https://github.com/rochoa","followers_url":"https://api.github.com/users/rochoa/followers","following_url":"https://api.github.com/users/rochoa/following{/other_user}","gists_url":"https://api.github.com/users/rochoa/gists{/gist_id}","starred_url":"https://api.github.com/users/rochoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rochoa/subscriptions","organizations_url":"https://api.github.com/users/rochoa/orgs","repos_url":"https://api.github.com/users/rochoa/repos","events_url":"https://api.github.com/users/rochoa/events{/privacy}","received_events_url":"https://api.github.com/users/rochoa/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":8,"changed_files":1}}