GitHub PullRequestEvent at 2014-01-30 10:24:35
Repository: django-sql-explorer
Actor: lociii
Payload: {"action":"opened","number":48,"pull_request":{"url":"https://api.github.com/repos/epantry/django-sql-explorer/pulls/48","id":12029511,"html_url":"https://github.com/epantry/django-sql-explorer/pull/48","diff_url":"https://github.com/epantry/django-sql-explorer/pull/48.diff","patch_url":"https://github.com/epantry/django-sql-explorer/pull/48.patch","issue_url":"https://api.github.com/repos/epantry/django-sql-explorer/issues/48","number":48,"state":"open","title":"handle postgresql transaction errors","user":{"login":"lociii","id":366967,"avatar_url":"https://gravatar.com/avatar/9bd0f7d1b072cd6f1b8d72d563e93561?d=https%3A%2F%2Fidenticons.github.com%2Ffb60828346325d161c3724066d6c4519.png&r=x","gravatar_id":"9bd0f7d1b072cd6f1b8d72d563e93561","url":"https://api.github.com/users/lociii","html_url":"https://github.com/lociii","followers_url":"https://api.github.com/users/lociii/followers","following_url":"https://api.github.com/users/lociii/following{/other_user}","gists_url":"https://api.github.com/users/lociii/gists{/gist_id}","starred_url":"https://api.github.com/users/lociii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lociii/subscriptions","organizations_url":"https://api.github.com/users/lociii/orgs","repos_url":"https://api.github.com/users/lociii/repos","events_url":"https://api.github.com/users/lociii/events{/privacy}","received_events_url":"https://api.github.com/users/lociii/received_events","type":"User","site_admin":false},"body":"The current DatabaseError handling does not work well with postgresql since a database error on the main transaction will fail all consequent database queries.\r\nExecuting the query in it's own transaction and eventually rolling it back solves this issue.","created_at":"2014-01-30T10:24:33Z","updated_at":"2014-01-30T10:24:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/epantry/django-sql-explorer/pulls/48/commits","review_comments_url":"https://api.github.com/repos/epantry/django-sql-explorer/pulls/48/comments","review_comment_url":"/repos/epantry/django-sql-explorer/pulls/comments/{number}","comments_url":"https://api.github.com/repos/epantry/django-sql-explorer/issues/48/comments","statuses_url":"https://api.github.com/repos/epantry/django-sql-explorer/statuses/0d3a9a8d43d239b1cca52cae72b6768c4b853008","head":{"label":"lociii:sql-exception","ref":"sql-exception","sha":"0d3a9a8d43d239b1cca52cae72b6768c4b853008","user":{"login":"lociii","id":366967,"avatar_url":"https://gravatar.com/avatar/9bd0f7d1b072cd6f1b8d72d563e93561?d=https%3A%2F%2Fidenticons.github.com%2Ffb60828346325d161c3724066d6c4519.png&r=x","gravatar_id":"9bd0f7d1b072cd6f1b8d72d563e93561","url":"https://api.github.com/users/lociii","html_url":"https://github.com/lociii","followers_url":"https://api.github.com/users/lociii/followers","following_url":"https://api.github.com/users/lociii/following{/other_user}","gists_url":"https://api.github.com/users/lociii/gists{/gist_id}","starred_url":"https://api.github.com/users/lociii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lociii/subscriptions","organizations_url":"https://api.github.com/users/lociii/orgs","repos_url":"https://api.github.com/users/lociii/repos","events_url":"https://api.github.com/users/lociii/events{/privacy}","received_events_url":"https://api.github.com/users/lociii/received_events","type":"User","site_admin":false},"repo":{"id":16373445,"name":"django-sql-explorer","full_name":"lociii/django-sql-explorer","owner":{"login":"lociii","id":366967,"avatar_url":"https://gravatar.com/avatar/9bd0f7d1b072cd6f1b8d72d563e93561?d=https%3A%2F%2Fidenticons.github.com%2Ffb60828346325d161c3724066d6c4519.png&r=x","gravatar_id":"9bd0f7d1b072cd6f1b8d72d563e93561","url":"https://api.github.com/users/lociii","html_url":"https://github.com/lociii","followers_url":"https://api.github.com/users/lociii/followers","following_url":"https://api.github.com/users/lociii/following{/other_user}","gists_url":"https://api.github.com/users/lociii/gists{/gist_id}","starred_url":"https://api.github.com/users/lociii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lociii/subscriptions","organizations_url":"https://api.github.com/users/lociii/orgs","repos_url":"https://api.github.com/users/lociii/repos","events_url":"https://api.github.com/users/lociii/events{/privacy}","received_events_url":"https://api.github.com/users/lociii/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lociii/django-sql-explorer","description":"Easily share data via SQL queries, right from Django","fork":true,"url":"https://api.github.com/repos/lociii/django-sql-explorer","forks_url":"https://api.github.com/repos/lociii/django-sql-explorer/forks","keys_url":"https://api.github.com/repos/lociii/django-sql-explorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lociii/django-sql-explorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lociii/django-sql-explorer/teams","hooks_url":"https://api.github.com/repos/lociii/django-sql-explorer/hooks","issue_events_url":"https://api.github.com/repos/lociii/django-sql-explorer/issues/events{/number}","events_url":"https://api.github.com/repos/lociii/django-sql-explorer/events","assignees_url":"https://api.github.com/repos/lociii/django-sql-explorer/assignees{/user}","branches_url":"https://api.github.com/repos/lociii/django-sql-explorer/branches{/branch}","tags_url":"https://api.github.com/repos/lociii/django-sql-explorer/tags","blobs_url":"https://api.github.com/repos/lociii/django-sql-explorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lociii/django-sql-explorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lociii/django-sql-explorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/lociii/django-sql-explorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lociii/django-sql-explorer/statuses/{sha}","languages_url":"https://api.github.com/repos/lociii/django-sql-explorer/languages","stargazers_url":"https://api.github.com/repos/lociii/django-sql-explorer/stargazers","contributors_url":"https://api.github.com/repos/lociii/django-sql-explorer/contributors","subscribers_url":"https://api.github.com/repos/lociii/django-sql-explorer/subscribers","subscription_url":"https://api.github.com/repos/lociii/django-sql-explorer/subscription","commits_url":"https://api.github.com/repos/lociii/django-sql-explorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/lociii/django-sql-explorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/lociii/django-sql-explorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/lociii/django-sql-explorer/issues/comments/{number}","contents_url":"https://api.github.com/repos/lociii/django-sql-explorer/contents/{+path}","compare_url":"https://api.github.com/repos/lociii/django-sql-explorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lociii/django-sql-explorer/merges","archive_url":"https://api.github.com/repos/lociii/django-sql-explorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lociii/django-sql-explorer/downloads","issues_url":"https://api.github.com/repos/lociii/django-sql-explorer/issues{/number}","pulls_url":"https://api.github.com/repos/lociii/django-sql-explorer/pulls{/number}","milestones_url":"https://api.github.com/repos/lociii/django-sql-explorer/milestones{/number}","notifications_url":"https://api.github.com/repos/lociii/django-sql-explorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lociii/django-sql-explorer/labels{/name}","releases_url":"https://api.github.com/repos/lociii/django-sql-explorer/releases{/id}","created_at":"2014-01-30T09:45:33Z","updated_at":"2014-01-30T10:24:33Z","pushed_at":"2014-01-30T10:23:00Z","git_url":"git://github.com/lociii/django-sql-explorer.git","ssh_url":"git@github.com:lociii/django-sql-explorer.git","clone_url":"https://github.com/lociii/django-sql-explorer.git","svn_url":"https://github.com/lociii/django-sql-explorer","homepage":"","size":707,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"epantry:master","ref":"master","sha":"3af6aff49d773db6bb0b31b9ee7b286834fd3362","user":{"login":"epantry","id":3093407,"avatar_url":"https://gravatar.com/avatar/ac384ca0af83d8266d6f2b0f7f4019e3?d=https%3A%2F%2Fidenticons.github.com%2Fd3184f6a9ab036b0dfc714eefe1d4870.png&r=x","gravatar_id":"ac384ca0af83d8266d6f2b0f7f4019e3","url":"https://api.github.com/users/epantry","html_url":"https://github.com/epantry","followers_url":"https://api.github.com/users/epantry/followers","following_url":"https://api.github.com/users/epantry/following{/other_user}","gists_url":"https://api.github.com/users/epantry/gists{/gist_id}","starred_url":"https://api.github.com/users/epantry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epantry/subscriptions","organizations_url":"https://api.github.com/users/epantry/orgs","repos_url":"https://api.github.com/users/epantry/repos","events_url":"https://api.github.com/users/epantry/events{/privacy}","received_events_url":"https://api.github.com/users/epantry/received_events","type":"Organization","site_admin":false},"repo":{"id":15381974,"name":"django-sql-explorer","full_name":"epantry/django-sql-explorer","owner":{"login":"epantry","id":3093407,"avatar_url":"https://gravatar.com/avatar/ac384ca0af83d8266d6f2b0f7f4019e3?d=https%3A%2F%2Fidenticons.github.com%2Fd3184f6a9ab036b0dfc714eefe1d4870.png&r=x","gravatar_id":"ac384ca0af83d8266d6f2b0f7f4019e3","url":"https://api.github.com/users/epantry","html_url":"https://github.com/epantry","followers_url":"https://api.github.com/users/epantry/followers","following_url":"https://api.github.com/users/epantry/following{/other_user}","gists_url":"https://api.github.com/users/epantry/gists{/gist_id}","starred_url":"https://api.github.com/users/epantry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epantry/subscriptions","organizations_url":"https://api.github.com/users/epantry/orgs","repos_url":"https://api.github.com/users/epantry/repos","events_url":"https://api.github.com/users/epantry/events{/privacy}","received_events_url":"https://api.github.com/users/epantry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/epantry/django-sql-explorer","description":"Easily share data via SQL queries, right from Django","fork":false,"url":"https://api.github.com/repos/epantry/django-sql-explorer","forks_url":"https://api.github.com/repos/epantry/django-sql-explorer/forks","keys_url":"https://api.github.com/repos/epantry/django-sql-explorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epantry/django-sql-explorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epantry/django-sql-explorer/teams","hooks_url":"https://api.github.com/repos/epantry/django-sql-explorer/hooks","issue_events_url":"https://api.github.com/repos/epantry/django-sql-explorer/issues/events{/number}","events_url":"https://api.github.com/repos/epantry/django-sql-explorer/events","assignees_url":"https://api.github.com/repos/epantry/django-sql-explorer/assignees{/user}","branches_url":"https://api.github.com/repos/epantry/django-sql-explorer/branches{/branch}","tags_url":"https://api.github.com/repos/epantry/django-sql-explorer/tags","blobs_url":"https://api.github.com/repos/epantry/django-sql-explorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epantry/django-sql-explorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epantry/django-sql-explorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/epantry/django-sql-explorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epantry/django-sql-explorer/statuses/{sha}","languages_url":"https://api.github.com/repos/epantry/django-sql-explorer/languages","stargazers_url":"https://api.github.com/repos/epantry/django-sql-explorer/stargazers","contributors_url":"https://api.github.com/repos/epantry/django-sql-explorer/contributors","subscribers_url":"https://api.github.com/repos/epantry/django-sql-explorer/subscribers","subscription_url":"https://api.github.com/repos/epantry/django-sql-explorer/subscription","commits_url":"https://api.github.com/repos/epantry/django-sql-explorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/epantry/django-sql-explorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/epantry/django-sql-explorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/epantry/django-sql-explorer/issues/comments/{number}","contents_url":"https://api.github.com/repos/epantry/django-sql-explorer/contents/{+path}","compare_url":"https://api.github.com/repos/epantry/django-sql-explorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epantry/django-sql-explorer/merges","archive_url":"https://api.github.com/repos/epantry/django-sql-explorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epantry/django-sql-explorer/downloads","issues_url":"https://api.github.com/repos/epantry/django-sql-explorer/issues{/number}","pulls_url":"https://api.github.com/repos/epantry/django-sql-explorer/pulls{/number}","milestones_url":"https://api.github.com/repos/epantry/django-sql-explorer/milestones{/number}","notifications_url":"https://api.github.com/repos/epantry/django-sql-explorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epantry/django-sql-explorer/labels{/name}","releases_url":"https://api.github.com/repos/epantry/django-sql-explorer/releases{/id}","created_at":"2013-12-22T20:58:37Z","updated_at":"2014-01-29T17:23:23Z","pushed_at":"2014-01-29T17:23:21Z","git_url":"git://github.com/epantry/django-sql-explorer.git","ssh_url":"git@github.com:epantry/django-sql-explorer.git","clone_url":"https://github.com/epantry/django-sql-explorer.git","svn_url":"https://github.com/epantry/django-sql-explorer","homepage":"","size":707,"stargazers_count":184,"watchers_count":184,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":3,"mirror_url":null,"open_issues_count":8,"forks":3,"open_issues":8,"watchers":184,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/epantry/django-sql-explorer/pulls/48"},"html":{"href":"https://github.com/epantry/django-sql-explorer/pull/48"},"issue":{"href":"https://api.github.com/repos/epantry/django-sql-explorer/issues/48"},"comments":{"href":"https://api.github.com/repos/epantry/django-sql-explorer/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/epantry/django-sql-explorer/pulls/48/comments"},"commits":{"href":"https://api.github.com/repos/epantry/django-sql-explorer/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/epantry/django-sql-explorer/statuses/0d3a9a8d43d239b1cca52cae72b6768c4b853008"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":2,"changed_files":1}}