diff --git a/Chart.yaml b/Chart.yaml index d0e53f9..ebce453 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v1 name: pgdog -version: v0.50 -appVersion: "0.1.36" +version: v0.51 +appVersion: "0.1.37" diff --git a/templates/config.yaml b/templates/config.yaml index 66e657e..f3d1348 100644 --- a/templates/config.yaml +++ b/templates/config.yaml @@ -58,6 +58,9 @@ data: {{- if .Values.queryParserEngine }} query_parser_engine = {{ .Values.queryParserEngine | quote }} {{- end }} + {{- if .Values.regexParserLimit }} + regex_parser_limit = {{ include "pgdog.intval" .Values.regexParserLimit }} + {{- end }} {{- if .Values.preparedStatementsLimit }} prepared_statements_limit = {{ include "pgdog.intval" .Values.preparedStatementsLimit }} {{- end}} @@ -91,6 +94,9 @@ data: {{- if .Values.reshardingCopyFormat }} resharding_copy_format = {{ .Values.reshardingCopyFormat | quote }} {{- end }} + {{- if .Values.reshardingParallelCopies }} + resharding_parallel_copies = {{ include "pgdog.intval" .Values.reshardingParallelCopies }} + {{- end }} {{- if hasKey .Values "reloadSchemaOnDdl" }} reload_schema_on_ddl = {{ .Values.reloadSchemaOnDdl }} {{- end }} @@ -121,6 +127,8 @@ data: server_lifetime = {{ include "pgdog.intval" (.Values.serverLifetime | default 86400000) }} log_connections = {{ .Values.logConnections | default "true" }} log_disconnections = {{ .Values.logDisconnections | default "true" }} + log_dedup_threshold = {{ include "pgdog.intval" (.Values.logDedupThreshold | default 0) }} + log_dedup_window = {{ include "pgdog.intval" (.Values.logDedupWindow | default 0) }} {{- if .Values.statsPeriod }} stats_period = {{ include "pgdog.intval" .Values.statsPeriod }} {{- end }} diff --git a/test/values-full.yaml b/test/values-full.yaml index 0fb806f..e61db3b 100644 --- a/test/values-full.yaml +++ b/test/values-full.yaml @@ -5,6 +5,7 @@ env: - name: RUST_LOG value: trace queryParserEngine: "pg_query_raw" +regexParserLimit: 1000 # Sharding settings twoPhaseCommit: true @@ -12,6 +13,7 @@ twoPhaseCommitAuto: false systemCatalogs: omnisharded_sticky omnishardedSticky: true reshardingCopyFormat: binary +reshardingParallelCopies: 1 reloadSchemaOnDdl: true memoryNetBuffer: 8192 diff --git a/values.yaml b/values.yaml index 7d33c5e..abaeba5 100644 --- a/values.yaml +++ b/values.yaml @@ -524,8 +524,8 @@ control: # memoryStackSize: 2097152 # Query parser configuration -# queryParser controls whether the query parser is enabled -# Valid values: "auto", "on", "off" +# queryParser controls whether the query parser and which features are enabled +# Valid values: "auto", "on", "off", "session_control", "session_control_and_locks" # queryParser: "auto" # queryParserEngine specifies which query parser engine to use @@ -534,6 +534,10 @@ control: # queryParserEnabled is DEPRECATED - use queryParser instead # queryParserEnabled: true +# regexParserLimit specifies the maximum number of characters in a query that the regex parser +# will inspect. Only applies when queryParser is "session_control" or "session_control_and_locks" +# regexParserLimit: 1000 + # Prometheus Collector configuration # Deploys a standalone Prometheus instance that collects metrics from all pgdog pods prometheusCollector: