pg_stat_statements is already installed, but in 'heroku_ext' schema, per https://devcenter.heroku.com/changelog-items/2446 heroku pg:outliers should work with 'heroku_ext' schema See also https://github.com/heroku/cli/pull/2051