Skip to content

Upgrade major version

This page describes how to upgrade the major version of your PostgreSQL database.

Preparations

Before doing a major version upgrade, consult the PostgreSQL Release Notes for any preparation that needs to be done.

Choose a new major version

Select a new major version of PostgreSQL that you want to upgrade to. For safe upgrades, it is recommended to only do one major version at a time.

The full list of supported versions can be found in the application spec reference.

Change the major version

To change the major version, modify the majorVersion field in your application manifest:

app.yaml
spec:
  postgres:
    cluster:
      majorVersion: "17"

Commit and push the changes to your application repository.

The upgrade will start the next time you deploy your application.