Skip to content

Commit 31a2b12

Browse files
committed
(fix) Remove troublesome settings defaults in PostgreSQL module
1 parent 8f30bf8 commit 31a2b12

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/postgresql/variables.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ variable "settings" {
7878
default = {
7979
# Connection and performance settings (well-supported)
8080
"max_connections" = "200"
81-
"shared_preload_libraries" = "pg_stat_statements"
8281
"work_mem" = "4MB"
8382
"maintenance_work_mem" = "128MB"
8483
"wal_buffers" = "16MB"
@@ -90,7 +89,9 @@ variable "settings" {
9089
"log_min_duration_statement" = "1000"
9190
"log_statement" = "ddl"
9291

93-
# Note: Advanced logging parameters like log_connections, log_lock_waits,
92+
# Note: shared_preload_libraries is managed automatically by Scaleway.
93+
# Extensions like pg_cron are pre-loaded by default.
94+
# Advanced logging parameters like log_connections, log_lock_waits,
9495
# log_temp_files, and log_disconnections may not be supported by
9596
# Scaleway's managed PostgreSQL service. Add these manually via
9697
# init_settings or settings override if needed and confirmed to work.

0 commit comments

Comments
 (0)