{"action":"opened","issue":{"url":"https://api.github.com/repos/dokku/dokku-postgres/issues/80","repository_url":"https://api.github.com/repos/dokku/dokku-postgres","labels_url":"https://api.github.com/repos/dokku/dokku-postgres/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/dokku/dokku-postgres/issues/80/comments","events_url":"https://api.github.com/repos/dokku/dokku-postgres/issues/80/events","html_url":"https://github.com/dokku/dokku-postgres/issues/80","id":170708572,"number":80,"title":"Using local psql to connect to DB?","user":{"login":"siavashs","id":113189,"avatar_url":"https://avatars.githubusercontent.com/u/113189?v=3","gravatar_id":"","url":"https://api.github.com/users/siavashs","html_url":"https://github.com/siavashs","followers_url":"https://api.github.com/users/siavashs/followers","following_url":"https://api.github.com/users/siavashs/following{/other_user}","gists_url":"https://api.github.com/users/siavashs/gists{/gist_id}","starred_url":"https://api.github.com/users/siavashs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siavashs/subscriptions","organizations_url":"https://api.github.com/users/siavashs/orgs","repos_url":"https://api.github.com/users/siavashs/repos","events_url":"https://api.github.com/users/siavashs/events{/privacy}","received_events_url":"https://api.github.com/users/siavashs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-11T18:05:46Z","updated_at":"2016-08-11T18:05:46Z","closed_at":null,"body":"As I checked this plugin uses the following command when you run `dokku postgres:connect`:\r\n```\r\ndocker exec -i $SERVICE_TTY_OPTS \"$SERVICE_NAME\" psql -h localhost -U postgres \"$DATABASE_NAME\"\r\n```\r\nOut ream does not like it because of it's limitations (limited number of lines, no search functionality, etc.)\r\n\r\nI think it would be better if the plugin installs and uses a local psql command from the host, passing the credentials from DATABASE_URL.\r\n\r\nI would be happy to implement this but would like to know your thoughts."}}
{"actor":{"display_login":"siavashs"}}