{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-ecto/postgrex/issues/337","repository_url":"https://api.github.com/repos/elixir-ecto/postgrex","labels_url":"https://api.github.com/repos/elixir-ecto/postgrex/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/elixir-ecto/postgrex/issues/337/comments","events_url":"https://api.github.com/repos/elixir-ecto/postgrex/issues/337/events","html_url":"https://github.com/elixir-ecto/postgrex/pull/337","id":266568300,"number":337,"title":"fixes array domains not supported natively","user":{"login":"evadne","id":104086,"avatar_url":"https://avatars2.githubusercontent.com/u/104086?v=4","gravatar_id":"","url":"https://api.github.com/users/evadne","html_url":"https://github.com/evadne","followers_url":"https://api.github.com/users/evadne/followers","following_url":"https://api.github.com/users/evadne/following{/other_user}","gists_url":"https://api.github.com/users/evadne/gists{/gist_id}","starred_url":"https://api.github.com/users/evadne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evadne/subscriptions","organizations_url":"https://api.github.com/users/evadne/orgs","repos_url":"https://api.github.com/users/evadne/repos","events_url":"https://api.github.com/users/evadne/events{/privacy}","received_events_url":"https://api.github.com/users/evadne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-10-18T17:02:21Z","updated_at":"2017-11-01T17:15:38Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/elixir-ecto/postgrex/pulls/337","html_url":"https://github.com/elixir-ecto/postgrex/pull/337","diff_url":"https://github.com/elixir-ecto/postgrex/pull/337.diff","patch_url":"https://github.com/elixir-ecto/postgrex/pull/337.patch"},"body":"Array domains do not have `typelem` set in `pg_types` and are not supported out-of-the-box.\r\n\r\nFor example, this creates an array with a constraint ensuring that it has at least one element.\r\n\r\n    CREATE DOMAIN public.page_quads AS polygon[]\r\n       CONSTRAINT is_populated\r\n       CHECK (COALESCE(array_length(VALUE, 1), 0) >= 1);\r\n\r\nIn this changeset, the bootstrap query used by the Type Server is updated again, so to support this use case without requiring a custom Postgrex extension.\r\n\r\nWithin the change, I have limited this to PostgreSQL 9.0 and upwards but the version check may actually be unnecessary."},"comment":{"url":"https://api.github.com/repos/elixir-ecto/postgrex/issues/comments/341173767","html_url":"https://github.com/elixir-ecto/postgrex/pull/337#issuecomment-341173767","issue_url":"https://api.github.com/repos/elixir-ecto/postgrex/issues/337","id":341173767,"user":{"login":"evadne","id":104086,"avatar_url":"https://avatars2.githubusercontent.com/u/104086?v=4","gravatar_id":"","url":"https://api.github.com/users/evadne","html_url":"https://github.com/evadne","followers_url":"https://api.github.com/users/evadne/followers","following_url":"https://api.github.com/users/evadne/following{/other_user}","gists_url":"https://api.github.com/users/evadne/gists{/gist_id}","starred_url":"https://api.github.com/users/evadne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evadne/subscriptions","organizations_url":"https://api.github.com/users/evadne/orgs","repos_url":"https://api.github.com/users/evadne/repos","events_url":"https://api.github.com/users/evadne/events{/privacy}","received_events_url":"https://api.github.com/users/evadne/received_events","type":"User","site_admin":false},"created_at":"2017-11-01T17:15:38Z","updated_at":"2017-11-01T17:15:38Z","author_association":"CONTRIBUTOR","body":"🌈"}}
{"actor":{"display_login":"evadne"}}