From 84889c7abc282e3bb569696c1c0f08a522256072 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 08:48:46 +0000 Subject: [PATCH 1/2] build(deps): bump the main group with 2 updates Bumps the main group with 2 updates: [github.com/aiven/go-api-schemas](https://github.com/aiven/go-api-schemas) and [github.com/aiven/go-client-codegen](https://github.com/aiven/go-client-codegen). Updates `github.com/aiven/go-api-schemas` from 1.78.0 to 1.79.0 - [Release notes](https://github.com/aiven/go-api-schemas/releases) - [Commits](https://github.com/aiven/go-api-schemas/compare/v1.78.0...v1.79.0) Updates `github.com/aiven/go-client-codegen` from 0.13.0 to 0.15.0 - [Release notes](https://github.com/aiven/go-client-codegen/releases) - [Commits](https://github.com/aiven/go-client-codegen/compare/v0.13.0...v0.15.0) --- updated-dependencies: - dependency-name: github.com/aiven/go-api-schemas dependency-type: direct:production update-type: version-update:semver-minor dependency-group: main - dependency-name: github.com/aiven/go-client-codegen dependency-type: direct:production update-type: version-update:semver-minor dependency-group: main ... Signed-off-by: dependabot[bot] --- go.mod | 6 +++--- go.sum | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 8649fc90..c90c2568 100644 --- a/go.mod +++ b/go.mod @@ -5,13 +5,14 @@ go 1.22 require ( github.com/ClickHouse/clickhouse-go/v2 v2.26.0 github.com/aiven/aiven-go-client/v2 v2.23.1-0.20240708122045-b60dda2ba032 - github.com/aiven/go-api-schemas v1.78.0 - github.com/aiven/go-client-codegen v0.13.0 + github.com/aiven/go-api-schemas v1.79.0 + github.com/aiven/go-client-codegen v0.15.0 github.com/dave/jennifer v1.7.0 github.com/docker/go-units v0.5.0 github.com/ghodss/yaml v1.0.0 github.com/go-logr/logr v1.4.2 github.com/google/go-cmp v0.6.0 + github.com/hashicorp/go-multierror v1.1.1 github.com/kelseyhightower/envconfig v1.4.0 github.com/liip/sheriff v0.12.0 github.com/otiai10/copy v1.14.0 @@ -52,7 +53,6 @@ require ( github.com/google/uuid v1.6.0 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect - github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/go-retryablehttp v0.7.7 // indirect github.com/hashicorp/go-version v1.6.0 // indirect github.com/imdario/mergo v0.3.12 // indirect diff --git a/go.sum b/go.sum index 90f0256f..2a90072b 100644 --- a/go.sum +++ b/go.sum @@ -39,10 +39,10 @@ github.com/ClickHouse/clickhouse-go/v2 v2.26.0 h1:j4/y6NYaCcFkJwN/TU700ebW+nmsIy github.com/ClickHouse/clickhouse-go/v2 v2.26.0/go.mod h1:iDTViXk2Fgvf1jn2dbJd1ys+fBkdD1UMRnXlwmhijhQ= github.com/aiven/aiven-go-client/v2 v2.23.1-0.20240708122045-b60dda2ba032 h1:Z6yrLuINkO+Wc3aVf0atS9JmokB8D7+1lxmOXGBzGks= github.com/aiven/aiven-go-client/v2 v2.23.1-0.20240708122045-b60dda2ba032/go.mod h1:KdHfLIlIRZIfCSEBd39j1Q81jlSb6Nd+oCQKqERfnuA= -github.com/aiven/go-api-schemas v1.78.0 h1:XAOfoP5kH3sevzLuVYqDHsUkbInouybjgWj0ugn+W1s= -github.com/aiven/go-api-schemas v1.78.0/go.mod h1:FYR22WcKLisZ1CYqyyGk6XqNSyxfAUtaQd+P2ydwc5A= -github.com/aiven/go-client-codegen v0.13.0 h1:fPB0D4Y/jp3IyfrwRLWeZ2Ipa2T97zkudJcnnGuHUys= -github.com/aiven/go-client-codegen v0.13.0/go.mod h1:Sajbdpjn1/m5g2D6EDfiSnxl9pj9hxe8+hpG1CkCkhs= +github.com/aiven/go-api-schemas v1.79.0 h1:V6H7XKbsgfwWWLBazj53ZiQygCZdMB9os2ZP5wvgzIw= +github.com/aiven/go-api-schemas v1.79.0/go.mod h1:FYR22WcKLisZ1CYqyyGk6XqNSyxfAUtaQd+P2ydwc5A= +github.com/aiven/go-client-codegen v0.15.0 h1:ZM2qboMC7mrvpMJbjyd5C71XxfHDjh7G285N+HwiFH4= +github.com/aiven/go-client-codegen v0.15.0/go.mod h1:Sajbdpjn1/m5g2D6EDfiSnxl9pj9hxe8+hpG1CkCkhs= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= From 99bc30dd5cca9f4e2eb58fc45ec19c4ce6f28c56 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Tue, 16 Jul 2024 08:49:47 +0000 Subject: [PATCH 2/2] chore(userconfigs): generate files --- CHANGELOG.md | 13 +++++++++++++ .../userconfig/service/cassandra/cassandra.go | 10 ++++++++++ .../service/cassandra/zz_generated.deepcopy.go | 10 ++++++++++ .../userconfig/service/opensearch/opensearch.go | 8 ++++++++ .../service/opensearch/zz_generated.deepcopy.go | 10 ++++++++++ api/v1alpha1/userconfig/service/pg/pg.go | 2 +- .../templates/aiven.io_cassandras.yaml | 15 +++++++++++++++ .../templates/aiven.io_opensearches.yaml | 12 ++++++++++++ .../templates/aiven.io_postgresqls.yaml | 2 ++ config/crd/bases/aiven.io_cassandras.yaml | 15 +++++++++++++++ config/crd/bases/aiven.io_opensearches.yaml | 12 ++++++++++++ config/crd/bases/aiven.io_postgresqls.yaml | 2 ++ docs/docs/api-reference/cassandra.md | 2 ++ docs/docs/api-reference/opensearch.md | 2 ++ docs/docs/api-reference/postgresql.md | 2 +- 15 files changed, 115 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a999478..ef4cd504 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ ## [MAJOR.MINOR.PATCH] - YYYY-MM-DD +- Add `Cassandra` field `userConfig.cassandra.read_request_timeout_in_ms`, type `integer`: How long the + coordinator waits for read operations to complete before timing it out +- Add `Cassandra` field `userConfig.cassandra.write_request_timeout_in_ms`, type `integer`: How long + the coordinator waits for write requests to complete with at least one node in the local datacenter +- Add `OpenSearch` field `userConfig.opensearch.knn_memory_circuit_breaker_enabled`, type `boolean`: + Enable or disable KNN memory circuit breaker. Defaults to true +- Add `OpenSearch` field `userConfig.opensearch.knn_memory_circuit_breaker_limit`, type `integer`: Maximum + amount of memory that can be used for KNN index. Defaults to 50% of the JVM heap size +- Change `PostgreSQL` field `userConfig.pg.log_line_prefix`: enum ~~`['%m [%p] %q[user=%u,db=%d,app=%a] +', '%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h ', 'pid=%p,user=%u,db=%d,app=%a,client=%h ']`~~ + → `['%m [%p] %q[user=%u,db=%d,app=%a] ', '%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h ', +'pid=%p,user=%u,db=%d,app=%a,client=%h ', 'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q ']` + ## v0.23.0 - 2024-07-12 - Ignore `http.StatusBadRequest` on `ClickhouseGrant` deletion diff --git a/api/v1alpha1/userconfig/service/cassandra/cassandra.go b/api/v1alpha1/userconfig/service/cassandra/cassandra.go index 70a31c8c..217ed5f5 100644 --- a/api/v1alpha1/userconfig/service/cassandra/cassandra.go +++ b/api/v1alpha1/userconfig/service/cassandra/cassandra.go @@ -18,6 +18,16 @@ type Cassandra struct { // +kubebuilder:validation:MaxLength=128 // Name of the datacenter to which nodes of this service belong. Can be set only when creating the service. Datacenter *string `groups:"create,update" json:"datacenter,omitempty"` + + // +kubebuilder:validation:Minimum=1000 + // +kubebuilder:validation:Maximum=10000 + // How long the coordinator waits for read operations to complete before timing it out. 5 seconds by default. + ReadRequestTimeoutInMs *int `groups:"create,update" json:"read_request_timeout_in_ms,omitempty"` + + // +kubebuilder:validation:Minimum=1000 + // +kubebuilder:validation:Maximum=10000 + // How long the coordinator waits for write requests to complete with at least one node in the local datacenter. 2 seconds by default. + WriteRequestTimeoutInMs *int `groups:"create,update" json:"write_request_timeout_in_ms,omitempty"` } // CIDR address block, either as a string, or in a dict with an optional description field diff --git a/api/v1alpha1/userconfig/service/cassandra/zz_generated.deepcopy.go b/api/v1alpha1/userconfig/service/cassandra/zz_generated.deepcopy.go index 3bf22388..193934f8 100644 --- a/api/v1alpha1/userconfig/service/cassandra/zz_generated.deepcopy.go +++ b/api/v1alpha1/userconfig/service/cassandra/zz_generated.deepcopy.go @@ -24,6 +24,16 @@ func (in *Cassandra) DeepCopyInto(out *Cassandra) { *out = new(string) **out = **in } + if in.ReadRequestTimeoutInMs != nil { + in, out := &in.ReadRequestTimeoutInMs, &out.ReadRequestTimeoutInMs + *out = new(int) + **out = **in + } + if in.WriteRequestTimeoutInMs != nil { + in, out := &in.WriteRequestTimeoutInMs, &out.WriteRequestTimeoutInMs + *out = new(int) + **out = **in + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cassandra. diff --git a/api/v1alpha1/userconfig/service/opensearch/opensearch.go b/api/v1alpha1/userconfig/service/opensearch/opensearch.go index 6ae1cb98..5e1e90dd 100644 --- a/api/v1alpha1/userconfig/service/opensearch/opensearch.go +++ b/api/v1alpha1/userconfig/service/opensearch/opensearch.go @@ -310,6 +310,14 @@ type Opensearch struct { // How long audit history indices are kept in days. IsmHistoryRolloverRetentionPeriod *int `groups:"create,update" json:"ism_history_rollover_retention_period,omitempty"` + // Enable or disable KNN memory circuit breaker. Defaults to true. + KnnMemoryCircuitBreakerEnabled *bool `groups:"create,update" json:"knn_memory_circuit_breaker_enabled,omitempty"` + + // +kubebuilder:validation:Minimum=3 + // +kubebuilder:validation:Maximum=100 + // Maximum amount of memory that can be used for KNN index. Defaults to 50% of the JVM heap size. + KnnMemoryCircuitBreakerLimit *int `groups:"create,update" json:"knn_memory_circuit_breaker_limit,omitempty"` + // Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default is false OverrideMainResponseVersion *bool `groups:"create,update" json:"override_main_response_version,omitempty"` diff --git a/api/v1alpha1/userconfig/service/opensearch/zz_generated.deepcopy.go b/api/v1alpha1/userconfig/service/opensearch/zz_generated.deepcopy.go index 15138143..28d175ee 100644 --- a/api/v1alpha1/userconfig/service/opensearch/zz_generated.deepcopy.go +++ b/api/v1alpha1/userconfig/service/opensearch/zz_generated.deepcopy.go @@ -384,6 +384,16 @@ func (in *Opensearch) DeepCopyInto(out *Opensearch) { *out = new(int) **out = **in } + if in.KnnMemoryCircuitBreakerEnabled != nil { + in, out := &in.KnnMemoryCircuitBreakerEnabled, &out.KnnMemoryCircuitBreakerEnabled + *out = new(bool) + **out = **in + } + if in.KnnMemoryCircuitBreakerLimit != nil { + in, out := &in.KnnMemoryCircuitBreakerLimit, &out.KnnMemoryCircuitBreakerLimit + *out = new(int) + **out = **in + } if in.OverrideMainResponseVersion != nil { in, out := &in.OverrideMainResponseVersion, &out.OverrideMainResponseVersion *out = new(bool) diff --git a/api/v1alpha1/userconfig/service/pg/pg.go b/api/v1alpha1/userconfig/service/pg/pg.go index d0198d86..47e2931f 100644 --- a/api/v1alpha1/userconfig/service/pg/pg.go +++ b/api/v1alpha1/userconfig/service/pg/pg.go @@ -142,7 +142,7 @@ type Pg struct { // Controls the amount of detail written in the server log for each message that is logged. LogErrorVerbosity *string `groups:"create,update" json:"log_error_verbosity,omitempty"` - // +kubebuilder:validation:Enum="'pid=%p,user=%u,db=%d,app=%a,client=%h '";"'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '";"'%m [%p] %q[user=%u,db=%d,app=%a] '" + // +kubebuilder:validation:Enum="'pid=%p,user=%u,db=%d,app=%a,client=%h '";"'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '";"'%m [%p] %q[user=%u,db=%d,app=%a] '";"'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q '" // Choose from one of the available log formats. LogLinePrefix *string `groups:"create,update" json:"log_line_prefix,omitempty"` diff --git a/charts/aiven-operator-crds/templates/aiven.io_cassandras.yaml b/charts/aiven-operator-crds/templates/aiven.io_cassandras.yaml index 7ab25c76..156e2acb 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_cassandras.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_cassandras.yaml @@ -271,6 +271,21 @@ spec: service belong. Can be set only when creating the service. maxLength: 128 type: string + read_request_timeout_in_ms: + description: + How long the coordinator waits for read operations + to complete before timing it out. 5 seconds by default. + maximum: 10000 + minimum: 1000 + type: integer + write_request_timeout_in_ms: + description: + How long the coordinator waits for write requests + to complete with at least one node in the local datacenter. + 2 seconds by default. + maximum: 10000 + minimum: 1000 + type: integer type: object cassandra_version: description: Cassandra version diff --git a/charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml b/charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml index ed896017..6be0fa44 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml @@ -707,6 +707,18 @@ spec: maximum: 2147483647 minimum: 1 type: integer + knn_memory_circuit_breaker_enabled: + description: + Enable or disable KNN memory circuit breaker. + Defaults to true. + type: boolean + knn_memory_circuit_breaker_limit: + description: + Maximum amount of memory that can be used for + KNN index. Defaults to 50% of the JVM heap size. + maximum: 100 + minimum: 3 + type: integer override_main_response_version: description: Compatibility mode sets OpenSearch to report diff --git a/charts/aiven-operator-crds/templates/aiven.io_postgresqls.yaml b/charts/aiven-operator-crds/templates/aiven.io_postgresqls.yaml index 2c57a5f0..3310fd87 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_postgresqls.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_postgresqls.yaml @@ -522,6 +522,8 @@ spec: - "'pid=%p,user=%u,db=%d,app=%a,client=%h '" - "'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '" - "'%m [%p] %q[user=%u,db=%d,app=%a] '" + - "'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q + '" type: string log_min_duration_statement: description: diff --git a/config/crd/bases/aiven.io_cassandras.yaml b/config/crd/bases/aiven.io_cassandras.yaml index 7ab25c76..156e2acb 100644 --- a/config/crd/bases/aiven.io_cassandras.yaml +++ b/config/crd/bases/aiven.io_cassandras.yaml @@ -271,6 +271,21 @@ spec: service belong. Can be set only when creating the service. maxLength: 128 type: string + read_request_timeout_in_ms: + description: + How long the coordinator waits for read operations + to complete before timing it out. 5 seconds by default. + maximum: 10000 + minimum: 1000 + type: integer + write_request_timeout_in_ms: + description: + How long the coordinator waits for write requests + to complete with at least one node in the local datacenter. + 2 seconds by default. + maximum: 10000 + minimum: 1000 + type: integer type: object cassandra_version: description: Cassandra version diff --git a/config/crd/bases/aiven.io_opensearches.yaml b/config/crd/bases/aiven.io_opensearches.yaml index ed896017..6be0fa44 100644 --- a/config/crd/bases/aiven.io_opensearches.yaml +++ b/config/crd/bases/aiven.io_opensearches.yaml @@ -707,6 +707,18 @@ spec: maximum: 2147483647 minimum: 1 type: integer + knn_memory_circuit_breaker_enabled: + description: + Enable or disable KNN memory circuit breaker. + Defaults to true. + type: boolean + knn_memory_circuit_breaker_limit: + description: + Maximum amount of memory that can be used for + KNN index. Defaults to 50% of the JVM heap size. + maximum: 100 + minimum: 3 + type: integer override_main_response_version: description: Compatibility mode sets OpenSearch to report diff --git a/config/crd/bases/aiven.io_postgresqls.yaml b/config/crd/bases/aiven.io_postgresqls.yaml index 2c57a5f0..3310fd87 100644 --- a/config/crd/bases/aiven.io_postgresqls.yaml +++ b/config/crd/bases/aiven.io_postgresqls.yaml @@ -522,6 +522,8 @@ spec: - "'pid=%p,user=%u,db=%d,app=%a,client=%h '" - "'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '" - "'%m [%p] %q[user=%u,db=%d,app=%a] '" + - "'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q + '" type: string log_min_duration_statement: description: diff --git a/docs/docs/api-reference/cassandra.md b/docs/docs/api-reference/cassandra.md index ba38deaa..e5380818 100644 --- a/docs/docs/api-reference/cassandra.md +++ b/docs/docs/api-reference/cassandra.md @@ -229,6 +229,8 @@ cassandra configuration values. - [`batch_size_fail_threshold_in_kb`](#spec.userConfig.cassandra.batch_size_fail_threshold_in_kb-property){: name='spec.userConfig.cassandra.batch_size_fail_threshold_in_kb-property'} (integer, Minimum: 1, Maximum: 1000000). Fail any multiple-partition batch exceeding this value. 50kb (10x warn threshold) by default. - [`batch_size_warn_threshold_in_kb`](#spec.userConfig.cassandra.batch_size_warn_threshold_in_kb-property){: name='spec.userConfig.cassandra.batch_size_warn_threshold_in_kb-property'} (integer, Minimum: 1, Maximum: 1000000). Log a warning message on any multiple-partition batch size exceeding this value.5kb per batch by default.Caution should be taken on increasing the size of this thresholdas it can lead to node instability. - [`datacenter`](#spec.userConfig.cassandra.datacenter-property){: name='spec.userConfig.cassandra.datacenter-property'} (string, MaxLength: 128). Name of the datacenter to which nodes of this service belong. Can be set only when creating the service. +- [`read_request_timeout_in_ms`](#spec.userConfig.cassandra.read_request_timeout_in_ms-property){: name='spec.userConfig.cassandra.read_request_timeout_in_ms-property'} (integer, Minimum: 1000, Maximum: 10000). How long the coordinator waits for read operations to complete before timing it out. 5 seconds by default. +- [`write_request_timeout_in_ms`](#spec.userConfig.cassandra.write_request_timeout_in_ms-property){: name='spec.userConfig.cassandra.write_request_timeout_in_ms-property'} (integer, Minimum: 1000, Maximum: 10000). How long the coordinator waits for write requests to complete with at least one node in the local datacenter. 2 seconds by default. ### ip_filter {: #spec.userConfig.ip_filter } diff --git a/docs/docs/api-reference/opensearch.md b/docs/docs/api-reference/opensearch.md index 4d6d55a2..bcf40936 100644 --- a/docs/docs/api-reference/opensearch.md +++ b/docs/docs/api-reference/opensearch.md @@ -313,6 +313,8 @@ OpenSearch settings. - [`ism_history_max_docs`](#spec.userConfig.opensearch.ism_history_max_docs-property){: name='spec.userConfig.opensearch.ism_history_max_docs-property'} (integer, Minimum: 1). The maximum number of documents before rolling over the audit history index. - [`ism_history_rollover_check_period`](#spec.userConfig.opensearch.ism_history_rollover_check_period-property){: name='spec.userConfig.opensearch.ism_history_rollover_check_period-property'} (integer, Minimum: 1, Maximum: 2147483647). The time between rollover checks for the audit history index in hours. - [`ism_history_rollover_retention_period`](#spec.userConfig.opensearch.ism_history_rollover_retention_period-property){: name='spec.userConfig.opensearch.ism_history_rollover_retention_period-property'} (integer, Minimum: 1, Maximum: 2147483647). How long audit history indices are kept in days. +- [`knn_memory_circuit_breaker_enabled`](#spec.userConfig.opensearch.knn_memory_circuit_breaker_enabled-property){: name='spec.userConfig.opensearch.knn_memory_circuit_breaker_enabled-property'} (boolean). Enable or disable KNN memory circuit breaker. Defaults to true. +- [`knn_memory_circuit_breaker_limit`](#spec.userConfig.opensearch.knn_memory_circuit_breaker_limit-property){: name='spec.userConfig.opensearch.knn_memory_circuit_breaker_limit-property'} (integer, Minimum: 3, Maximum: 100). Maximum amount of memory that can be used for KNN index. Defaults to 50% of the JVM heap size. - [`override_main_response_version`](#spec.userConfig.opensearch.override_main_response_version-property){: name='spec.userConfig.opensearch.override_main_response_version-property'} (boolean). Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default is false. - [`plugins_alerting_filter_by_backend_roles`](#spec.userConfig.opensearch.plugins_alerting_filter_by_backend_roles-property){: name='spec.userConfig.opensearch.plugins_alerting_filter_by_backend_roles-property'} (boolean). Enable or disable filtering of alerting by backend roles. Requires Security plugin. Defaults to false. - [`reindex_remote_whitelist`](#spec.userConfig.opensearch.reindex_remote_whitelist-property){: name='spec.userConfig.opensearch.reindex_remote_whitelist-property'} (array of strings, MaxItems: 32). Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart. diff --git a/docs/docs/api-reference/postgresql.md b/docs/docs/api-reference/postgresql.md index 9d67304d..1040a52e 100644 --- a/docs/docs/api-reference/postgresql.md +++ b/docs/docs/api-reference/postgresql.md @@ -290,7 +290,7 @@ postgresql.conf configuration values. - [`jit`](#spec.userConfig.pg.jit-property){: name='spec.userConfig.pg.jit-property'} (boolean). Controls system-wide use of Just-in-Time Compilation (JIT). - [`log_autovacuum_min_duration`](#spec.userConfig.pg.log_autovacuum_min_duration-property){: name='spec.userConfig.pg.log_autovacuum_min_duration-property'} (integer, Minimum: -1, Maximum: 2147483647). Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions. - [`log_error_verbosity`](#spec.userConfig.pg.log_error_verbosity-property){: name='spec.userConfig.pg.log_error_verbosity-property'} (string, Enum: `TERSE`, `DEFAULT`, `VERBOSE`). Controls the amount of detail written in the server log for each message that is logged. -- [`log_line_prefix`](#spec.userConfig.pg.log_line_prefix-property){: name='spec.userConfig.pg.log_line_prefix-property'} (string, Enum: `'pid=%p,user=%u,db=%d,app=%a,client=%h '`, `'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '`, `'%m [%p] %q[user=%u,db=%d,app=%a] '`). Choose from one of the available log formats. +- [`log_line_prefix`](#spec.userConfig.pg.log_line_prefix-property){: name='spec.userConfig.pg.log_line_prefix-property'} (string, Enum: `'pid=%p,user=%u,db=%d,app=%a,client=%h '`, `'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '`, `'%m [%p] %q[user=%u,db=%d,app=%a] '`, `'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q '`). Choose from one of the available log formats. - [`log_min_duration_statement`](#spec.userConfig.pg.log_min_duration_statement-property){: name='spec.userConfig.pg.log_min_duration_statement-property'} (integer, Minimum: -1, Maximum: 86400000). Log statements that take more than this number of milliseconds to run, -1 disables. - [`log_temp_files`](#spec.userConfig.pg.log_temp_files-property){: name='spec.userConfig.pg.log_temp_files-property'} (integer, Minimum: -1, Maximum: 2147483647). Log statements for each temporary file created larger than this number of kilobytes, -1 disables. - [`max_files_per_process`](#spec.userConfig.pg.max_files_per_process-property){: name='spec.userConfig.pg.max_files_per_process-property'} (integer, Minimum: 1000, Maximum: 4096). PostgreSQL maximum number of files that can be open per process.