{"action":"created","issue":{"url":"https://api.github.com/repos/ankane/pgslice/issues/18","repository_url":"https://api.github.com/repos/ankane/pgslice","labels_url":"https://api.github.com/repos/ankane/pgslice/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/ankane/pgslice/issues/18/comments","events_url":"https://api.github.com/repos/ankane/pgslice/issues/18/events","html_url":"https://github.com/ankane/pgslice/issues/18","id":345426167,"node_id":"MDU6SXNzdWUzNDU0MjYxNjc=","number":18,"title":"Could not translate host name","user":{"login":"austinh","id":659239,"node_id":"MDQ6VXNlcjY1OTIzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/659239?v=4","gravatar_id":"","url":"https://api.github.com/users/austinh","html_url":"https://github.com/austinh","followers_url":"https://api.github.com/users/austinh/followers","following_url":"https://api.github.com/users/austinh/following{/other_user}","gists_url":"https://api.github.com/users/austinh/gists{/gist_id}","starred_url":"https://api.github.com/users/austinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinh/subscriptions","organizations_url":"https://api.github.com/users/austinh/orgs","repos_url":"https://api.github.com/users/austinh/repos","events_url":"https://api.github.com/users/austinh/events{/privacy}","received_events_url":"https://api.github.com/users/austinh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-07-28T07:16:33Z","updated_at":"2018-07-28T20:20:04Z","closed_at":null,"author_association":"NONE","body":"Hello, I am getting this error when trying to connect to a postgres instance that is in a docker container. I have exposed this postgres instance on port 5092. I am able to connect to it in any other manner (psql, nodejs app outside of container, inside container, etc). Only pgslice doesn't seem to be working.\r\n\r\n`pgslice prep reservations created_at month --url=postgres://postgres@localhost:5092/my_app_db`\r\n\r\nI get this error:\r\n```\r\ncould not translate host name \"postgres://postgres@localhost:5092/my_app_db?\" to address: nodename nor servname provided, or not known\r\n```\r\n\r\nAny ideas as to why this is happening?"},"comment":{"url":"https://api.github.com/repos/ankane/pgslice/issues/comments/408632563","html_url":"https://github.com/ankane/pgslice/issues/18#issuecomment-408632563","issue_url":"https://api.github.com/repos/ankane/pgslice/issues/18","id":408632563,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODYzMjU2Mw==","user":{"login":"austinh","id":659239,"node_id":"MDQ6VXNlcjY1OTIzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/659239?v=4","gravatar_id":"","url":"https://api.github.com/users/austinh","html_url":"https://github.com/austinh","followers_url":"https://api.github.com/users/austinh/followers","following_url":"https://api.github.com/users/austinh/following{/other_user}","gists_url":"https://api.github.com/users/austinh/gists{/gist_id}","starred_url":"https://api.github.com/users/austinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinh/subscriptions","organizations_url":"https://api.github.com/users/austinh/orgs","repos_url":"https://api.github.com/users/austinh/repos","events_url":"https://api.github.com/users/austinh/events{/privacy}","received_events_url":"https://api.github.com/users/austinh/received_events","type":"User","site_admin":false},"created_at":"2018-07-28T20:20:04Z","updated_at":"2018-07-28T20:20:04Z","author_association":"NONE","body":"Ah upgrading pg seemed to do the job. The version of rails that my app is on is 0.22 (because Rails didn't support it for a while), but that seemed to do the job. Thank you! That fixed it :)"}}
{"actor":{"display_login":"austinh"}}