This page describes how to upgrade the major version of your PostgreSQL database.
Preparations ΒΆ
Before doing a major version upgrade, consult the Google Cloud SQL documentation 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 type field in your application manifest:
app.yaml
spec:
gcp:
sqlInstances:
- type: POSTGRES_17Commit and push the changes to your application repository.
The upgrade will start the next time you deploy your application.