{"action":"created","issue":{"url":"https://api.github.com/repos/gleu/pgstats/issues/2","labels_url":"https://api.github.com/repos/gleu/pgstats/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/gleu/pgstats/issues/2/comments","events_url":"https://api.github.com/repos/gleu/pgstats/issues/2/events","html_url":"https://github.com/gleu/pgstats/pull/2","id":55476307,"number":2,"title":"Take care for PGDATABASE environment variable and get rid of default dat...","user":{"login":"psoo","id":362650,"avatar_url":"https://avatars.githubusercontent.com/u/362650?v=3","gravatar_id":"","url":"https://api.github.com/users/psoo","html_url":"https://github.com/psoo","followers_url":"https://api.github.com/users/psoo/followers","following_url":"https://api.github.com/users/psoo/following{/other_user}","gists_url":"https://api.github.com/users/psoo/gists{/gist_id}","starred_url":"https://api.github.com/users/psoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psoo/subscriptions","organizations_url":"https://api.github.com/users/psoo/orgs","repos_url":"https://api.github.com/users/psoo/repos","events_url":"https://api.github.com/users/psoo/events{/privacy}","received_events_url":"https://api.github.com/users/psoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-26T12:19:44Z","updated_at":"2015-01-26T23:10:09Z","closed_at":"2015-01-26T23:10:09Z","pull_request":{"url":"https://api.github.com/repos/gleu/pgstats/pulls/2","html_url":"https://github.com/gleu/pgstats/pull/2","diff_url":"https://github.com/gleu/pgstats/pull/2.diff","patch_url":"https://github.com/gleu/pgstats/pull/2.patch"},"body":"...abase 'postgres'.\r\n\r\nPQsetdbLogin() would use PGDATABASE in case dbname is not specified\r\non the command line. However, since dbname is used in the error message,\r\nwe need to take care for it."},"comment":{"url":"https://api.github.com/repos/gleu/pgstats/issues/comments/71558418","html_url":"https://github.com/gleu/pgstats/pull/2#issuecomment-71558418","issue_url":"https://api.github.com/repos/gleu/pgstats/issues/2","id":71558418,"user":{"login":"gleu","id":223410,"avatar_url":"https://avatars.githubusercontent.com/u/223410?v=3","gravatar_id":"","url":"https://api.github.com/users/gleu","html_url":"https://github.com/gleu","followers_url":"https://api.github.com/users/gleu/followers","following_url":"https://api.github.com/users/gleu/following{/other_user}","gists_url":"https://api.github.com/users/gleu/gists{/gist_id}","starred_url":"https://api.github.com/users/gleu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gleu/subscriptions","organizations_url":"https://api.github.com/users/gleu/orgs","repos_url":"https://api.github.com/users/gleu/repos","events_url":"https://api.github.com/users/gleu/events{/privacy}","received_events_url":"https://api.github.com/users/gleu/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T23:10:09Z","updated_at":"2015-01-26T23:10:09Z","body":"Thanks again, this patch has been merged."}}