Skip to content
SupportDashboard

Upgrade Major Version

Upgrade your Nhost PostgreSQL major version to 18 from the dashboard, with notes on the process and required downtime.

PostgreSQL postgres upgrade major version database migration pg_upgrade downtime

Nhost supports Postgres 18. To upgrade to Postgres 18, go to Settings -> Database, select the new major version, and start the process:

dashboard settings

After starting the process you can follow it on the same page:

logs

Finally, you can confirm the upgrade by executing the SQL query SELECT version();

select version()

This process can only be triggered from the dashboard. If you have a project with a connected repository and want to upgrade postgres to a new major version you will have to follow the steps below:

  1. Upgrade the major version using the dashboard
  2. Run nhost config pull or edit the nhost.toml by hand.
  3. Push to git (this step should be a NOOP and can be skipped)

If you attempt to change major versions via a deployment the deployment will fail. This is done on purpose to avoid unintended upgrades which can lead to downtime.