{"action":"created","issue":{"url":"https://api.github.com/repos/lpsmith/postgresql-simple/issues/219","repository_url":"https://api.github.com/repos/lpsmith/postgresql-simple","labels_url":"https://api.github.com/repos/lpsmith/postgresql-simple/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/lpsmith/postgresql-simple/issues/219/comments","events_url":"https://api.github.com/repos/lpsmith/postgresql-simple/issues/219/events","html_url":"https://github.com/lpsmith/postgresql-simple/pull/219","id":241139441,"number":219,"title":"Add interval Type","user":{"login":"SamProtas","id":10355004,"avatar_url":"https://avatars0.githubusercontent.com/u/10355004?v=3","gravatar_id":"","url":"https://api.github.com/users/SamProtas","html_url":"https://github.com/SamProtas","followers_url":"https://api.github.com/users/SamProtas/followers","following_url":"https://api.github.com/users/SamProtas/following{/other_user}","gists_url":"https://api.github.com/users/SamProtas/gists{/gist_id}","starred_url":"https://api.github.com/users/SamProtas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamProtas/subscriptions","organizations_url":"https://api.github.com/users/SamProtas/orgs","repos_url":"https://api.github.com/users/SamProtas/repos","events_url":"https://api.github.com/users/SamProtas/events{/privacy}","received_events_url":"https://api.github.com/users/SamProtas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-07T02:27:35Z","updated_at":"2017-07-07T03:08:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lpsmith/postgresql-simple/pulls/219","html_url":"https://github.com/lpsmith/postgresql-simple/pull/219","diff_url":"https://github.com/lpsmith/postgresql-simple/pull/219.diff","patch_url":"https://github.com/lpsmith/postgresql-simple/pull/219.patch"},"body":"I took a stab at adding an `Interval` ADT to this library as per this conversation:\r\n\r\nhttps://github.com/lpsmith/postgresql-simple/issues/176\r\n\r\nLet me know your thoughts or any changes you'd like to see. FYI I'm a bit unsure about the appropriate precision for the Interval's fields.\r\n\r\nAlthough I'm testing against PostgreSQL 9.6.3 I appear to have run into this bug (or something similar):\r\n\r\nhttps://www.postgresql.org/message-id/CAMWF=HS++N9-NKsh-o5QSymvp0Np-VB0GdWwAt4uie1h8ZdNTQ@mail.gmail.com\r\n\r\nso the Interval builder splits microseconds back out into hours/minutes/seconds/microseconds to keep the numbers low."},"comment":{"url":"https://api.github.com/repos/lpsmith/postgresql-simple/issues/comments/313575640","html_url":"https://github.com/lpsmith/postgresql-simple/pull/219#issuecomment-313575640","issue_url":"https://api.github.com/repos/lpsmith/postgresql-simple/issues/219","id":313575640,"user":{"login":"SamProtas","id":10355004,"avatar_url":"https://avatars0.githubusercontent.com/u/10355004?v=3","gravatar_id":"","url":"https://api.github.com/users/SamProtas","html_url":"https://github.com/SamProtas","followers_url":"https://api.github.com/users/SamProtas/followers","following_url":"https://api.github.com/users/SamProtas/following{/other_user}","gists_url":"https://api.github.com/users/SamProtas/gists{/gist_id}","starred_url":"https://api.github.com/users/SamProtas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamProtas/subscriptions","organizations_url":"https://api.github.com/users/SamProtas/orgs","repos_url":"https://api.github.com/users/SamProtas/repos","events_url":"https://api.github.com/users/SamProtas/events{/privacy}","received_events_url":"https://api.github.com/users/SamProtas/received_events","type":"User","site_admin":false},"created_at":"2017-07-07T03:08:57Z","updated_at":"2017-07-07T03:08:57Z","body":"FWIW, the only Travis build that failed appears to also be failing on master (cabal version issue) and is for the oldest GHC (7.6.3) being tested."}}
{"actor":{"display_login":"SamProtas"}}