{"action":"created","issue":{"url":"https://api.github.com/repos/MagicStack/asyncpg/issues/86","repository_url":"https://api.github.com/repos/MagicStack/asyncpg","labels_url":"https://api.github.com/repos/MagicStack/asyncpg/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/MagicStack/asyncpg/issues/86/comments","events_url":"https://api.github.com/repos/MagicStack/asyncpg/issues/86/events","html_url":"https://github.com/MagicStack/asyncpg/issues/86","id":213919897,"number":86,"title":"two phase commit support","user":{"login":"wrobell","id":105664,"avatar_url":"https://avatars1.githubusercontent.com/u/105664?v=3","gravatar_id":"","url":"https://api.github.com/users/wrobell","html_url":"https://github.com/wrobell","followers_url":"https://api.github.com/users/wrobell/followers","following_url":"https://api.github.com/users/wrobell/following{/other_user}","gists_url":"https://api.github.com/users/wrobell/gists{/gist_id}","starred_url":"https://api.github.com/users/wrobell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrobell/subscriptions","organizations_url":"https://api.github.com/users/wrobell/orgs","repos_url":"https://api.github.com/users/wrobell/repos","events_url":"https://api.github.com/users/wrobell/events{/privacy}","received_events_url":"https://api.github.com/users/wrobell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-13T22:48:46Z","updated_at":"2017-03-14T06:42:08Z","closed_at":null,"body":"It would be great if asyncpg supported two-phase commit\r\n\r\n1. https://www.postgresql.org/docs/current/static/sql-prepare-transaction.html\r\n1. http://initd.org/psycopg/docs/usage.html#two-phase-commit-protocol-support"},"comment":{"url":"https://api.github.com/repos/MagicStack/asyncpg/issues/comments/286335704","html_url":"https://github.com/MagicStack/asyncpg/issues/86#issuecomment-286335704","issue_url":"https://api.github.com/repos/MagicStack/asyncpg/issues/86","id":286335704,"user":{"login":"vitaly-burovoy","id":24803131,"avatar_url":"https://avatars3.githubusercontent.com/u/24803131?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-burovoy","html_url":"https://github.com/vitaly-burovoy","followers_url":"https://api.github.com/users/vitaly-burovoy/followers","following_url":"https://api.github.com/users/vitaly-burovoy/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-burovoy/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-burovoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-burovoy/subscriptions","organizations_url":"https://api.github.com/users/vitaly-burovoy/orgs","repos_url":"https://api.github.com/users/vitaly-burovoy/repos","events_url":"https://api.github.com/users/vitaly-burovoy/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-burovoy/received_events","type":"User","site_admin":false},"created_at":"2017-03-14T06:42:08Z","updated_at":"2017-03-14T06:42:08Z","body":"Could you, please, provide a snippet with 2PC and the `Transaction` class?\r\nJust to clarify — which DDLs a context manager should send to the `Postgres` in magic methods?\r\n(I bet you know how 2PC works and you have a transaction manager now to be interacted with)."}}
{"actor":{"display_login":"vitaly-burovoy"}}