Databases
Managed PostgreSQL Database Patch
https://api.linode.com/v4/databases/postgresql/instances/{instanceId}/patch
Apply security patches and updates to the underlying operating system of the Managed PostgreSQL Database. This function runs during regular maintenance windows, which are configurable with the Managed PostgreSQL Database Update (PUT /databases/postgresql/instances/{instanceId}) command.
Requires read_write
access to the Database.
The Database must have an active
status to perform this command.
Note
If your database cluster is configured with a single node, you will experience downtime during this maintenance. Consider upgrading to a high availability plan to avoid any downtime due to maintenance.
The database software is not updated automatically. To upgrade to a new database engine version, consider deploying a new Managed Database with your preferred version. You can then migrate your databases from the original Managed Database cluster to the new one.
Path Parameters
The ID of the Managed PostgreSQL Database.
Request Samples
- Shell
- CLI
curl -H "Authorization: Bearer $TOKEN" \
-X POST https://api.linode.com/v4/databases/postgresql/instances/123/patch
Response Samples
- 200
- default
{}
Responses
200: Managed Database instance patch request successful.
default: Error
What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.
The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.