{"action":"opened","issue":{"url":"https://api.github.com/repos/rails/rails/issues/23039","labels_url":"https://api.github.com/repos/rails/rails/issues/23039/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/23039/comments","events_url":"https://api.github.com/repos/rails/rails/issues/23039/events","html_url":"https://github.com/rails/rails/issues/23039","id":126318707,"number":23039,"title":"After upgrade to Postgres 9.5, rake db:migrate fails with \"pg_dump: invalid option -- i\"","user":{"login":"ianhall","id":830126,"avatar_url":"https://avatars.githubusercontent.com/u/830126?v=3","gravatar_id":"","url":"https://api.github.com/users/ianhall","html_url":"https://github.com/ianhall","followers_url":"https://api.github.com/users/ianhall/followers","following_url":"https://api.github.com/users/ianhall/following{/other_user}","gists_url":"https://api.github.com/users/ianhall/gists{/gist_id}","starred_url":"https://api.github.com/users/ianhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianhall/subscriptions","organizations_url":"https://api.github.com/users/ianhall/orgs","repos_url":"https://api.github.com/users/ianhall/repos","events_url":"https://api.github.com/users/ianhall/events{/privacy}","received_events_url":"https://api.github.com/users/ianhall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-13T01:28:30Z","updated_at":"2016-01-13T01:28:30Z","closed_at":null,"body":"The error comes from `activerecord-4.2.1/lib/active_record/tasks/postgresql_database_tasks.rb:55`\r\n\r\nThe Postgres 9.4 docs (http://www.postgresql.org/docs/9.4/static/app-pgdump.html) say:\r\n`-i\r\n--ignore-version\r\nA deprecated option that is now ignored.`\r\n\r\nThe 9.5 docs do not mention this option at all."}}