Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
name: pgdog
version: v0.50
appVersion: "0.1.36"
version: v0.51
appVersion: "0.1.37"
8 changes: 8 additions & 0 deletions templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions test/values-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ env:
- name: RUST_LOG
value: trace
queryParserEngine: "pg_query_raw"
regexParserLimit: 1000

# Sharding settings
twoPhaseCommit: true
twoPhaseCommitAuto: false
systemCatalogs: omnisharded_sticky
omnishardedSticky: true
reshardingCopyFormat: binary
reshardingParallelCopies: 1
reloadSchemaOnDdl: true

memoryNetBuffer: 8192
Expand Down
8 changes: 6 additions & 2 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
Loading