{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/2668","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/2668/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/2668/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/2668/events","html_url":"https://github.com/Codeception/Codeception/pull/2668","id":123861942,"number":2668,"title":"Postgres driver: cleanup() delete all custom types","user":{"login":"airdrummingfool","id":631249,"avatar_url":"https://avatars.githubusercontent.com/u/631249?v=3","gravatar_id":"","url":"https://api.github.com/users/airdrummingfool","html_url":"https://github.com/airdrummingfool","followers_url":"https://api.github.com/users/airdrummingfool/followers","following_url":"https://api.github.com/users/airdrummingfool/following{/other_user}","gists_url":"https://api.github.com/users/airdrummingfool/gists{/gist_id}","starred_url":"https://api.github.com/users/airdrummingfool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airdrummingfool/subscriptions","organizations_url":"https://api.github.com/users/airdrummingfool/orgs","repos_url":"https://api.github.com/users/airdrummingfool/repos","events_url":"https://api.github.com/users/airdrummingfool/events{/privacy}","received_events_url":"https://api.github.com/users/airdrummingfool/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-25T07:46:37Z","updated_at":"2015-12-25T10:43:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Codeception/Codeception/pulls/2668","html_url":"https://github.com/Codeception/Codeception/pull/2668","diff_url":"https://github.com/Codeception/Codeception/pull/2668.diff","patch_url":"https://github.com/Codeception/Codeception/pull/2668.patch"},"body":"This is a PR to fix #2666. To test, I'm adding one of each kind of pgsql `type` and then individually checking that they exist before and don't exist after `cleanup()`. I'm doing the checks individually because it doesn't make sense to use the same query to check for type existence that I use to determine which types to delete (and that's the only query I have to list custom types).\r\n\r\nNote that `range type`s aren't supported in pgsql below 9.2, so this will break the tests on pgsql 9.1 and below."},"comment":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/comments/167221549","html_url":"https://github.com/Codeception/Codeception/pull/2668#issuecomment-167221549","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/2668","id":167221549,"user":{"login":"Naktibalda","id":395992,"avatar_url":"https://avatars.githubusercontent.com/u/395992?v=3","gravatar_id":"","url":"https://api.github.com/users/Naktibalda","html_url":"https://github.com/Naktibalda","followers_url":"https://api.github.com/users/Naktibalda/followers","following_url":"https://api.github.com/users/Naktibalda/following{/other_user}","gists_url":"https://api.github.com/users/Naktibalda/gists{/gist_id}","starred_url":"https://api.github.com/users/Naktibalda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naktibalda/subscriptions","organizations_url":"https://api.github.com/users/Naktibalda/orgs","repos_url":"https://api.github.com/users/Naktibalda/repos","events_url":"https://api.github.com/users/Naktibalda/events{/privacy}","received_events_url":"https://api.github.com/users/Naktibalda/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T10:43:21Z","updated_at":"2015-12-25T10:43:21Z","body":"Travis runs version 9.1 by default.\r\n\r\nPlease change the version of Postgres in .travis.yml file as described in https://docs.travis-ci.com/user/using-postgresql/"}}