Postgres
Replace Postgres service configuration
Changed onReplace the existing Postgres service and pgBouncer configuration.
post/v1/organizations/{organizationId}/postgres/{postgresId}/config
Request
- Base URLhttps://api.clickhouse.cloud
- AuthHTTP basic
Path parameters
organizationId, string uuid required
ID of the organization that owns the Postgres service.
postgresId, string uuid required
Example:f71df78e-ddad-82d0-8dfa-abbec741b82e
ID of the requested Postgres service.
Request body
Postgres Instance Config required
pgConfig, Pg Config required
Postgres runtime configuration configuration.
pgBouncerConfig, Pg Bouncer Config required
PgBouncer runtime configuration configuration.
Example request
{
"pgConfig": {
"max_connections": 100
},
"pgBouncerConfig": {
"default_pool_size": "16"
}
}Response
Successful response
object required
status, number
HTTP status code.
requestId, string uuid
Unique id assigned to every request. UUIDv4
result, Postgres Instance Update Config Response
Example response
{
"status": 200,
"result": {
"pgConfig": {
"max_connections": 100
},
"pgBouncerConfig": {
"default_pool_size": "16"
}
}
}Changes
- info
added the new optional request property
pgConfig/autovacuum_max_parallel_workers - info
added the new optional request property
pgConfig/io_max_workers - info
added the new optional request property
pgConfig/io_min_workers
5 more changes in this revision
- info