Changes to `pg:upgrade` CLI command functionality
Change effective on 28 May 2025
We’re changing the functionality in the existing pg:upgrade CLI command and replacing it with the new pg:upgrade:run command. You can still use pg:upgrade until it reaches end-of-life. See this Help article for more details. We recommend using the new pg:upgrade:* subcommands or pg:copy to upgrade the Postgres version on your database.
See Upgrading the Version of a Heroku Postgres Database for version upgrade instructions.