Skip to content
Skip to content
PGB Learn

PostgreSQL versions and upgrades

Choose a version when you create a database and upgrade to a newer one from DB Settings, with a verified copy.

Updated Nov 12, 2026

Choosing a version

When you create a project or database, the picker offers PostgreSQL 14 to 18, with 17 preselected. Each server runs one major version, so a database lives on a server running its version. DB Settings and the top bar show the version your database really runs ("PG" and number); trust that over the label you picked.

Upgrade

  1. Open Databases > DB Settings and find PostgreSQL version.
  2. The page says This database runs PostgreSQL N. If a newer version is available in your database's region, an Upgrade to menu appears. Otherwise it says no newer version is available.
  3. Pick the version and choose Upgrade, then confirm.

What happens: your database is copied to a server running the new version and checked row by row before anything switches. While it copies, queries wait instead of failing, then continue on the new version. If the check fails, nothing changes and the page says the last change did not complete.

Rules

  • Only upgrades are offered. Going to an older version is not supported.
  • Extensions your database uses must be available on the target. Otherwise you are told which to disable first.
  • Only one move can run at a time. The page shows progress.
  • Upgrading needs an Owner or Admin role.

Good to know

  • This cannot be reversed. Take a snapshot first. See Daily snapshots.
  • Test your app against the new version on a separate database first.
  • Plan for a few minutes of waiting queries on large databases.

More guides in Console: databases