VK Cloud logo
Updated at October 31, 2023   06:09 AM

Updating the PostgreSQL version

To get access to new PostgreSQL features, you need to upgrade your DBMS versions. Patch management allows you to upgrade Postgres and Postgres Pro from a lower version to a higher version.

To upgrade PostgreSQL, use the pg_upgrade utility.

Make an API request:

curl --location --request PATCH '/v1.0/project_id/instances/instance_id' \--header 'X-Auth-Token:  <user token>' \--header 'Content-Type: application/json' \-d '{  "instance":{      "datastore_version": <id new datastore version>  }}'