Upgrade WAL config for PG14

This commit is contained in:
2026-04-08 13:22:17 +04:00
parent 290af8177a
commit 6583cd7010

View File

@@ -56,7 +56,7 @@ action :create do
timezone: "UTC", # default is GMT timezone: "UTC", # default is GMT
listen_addresses: "0.0.0.0", listen_addresses: "0.0.0.0",
promote_trigger_file: "#{postgresql_data_dir}/failover.trigger", promote_trigger_file: "#{postgresql_data_dir}/failover.trigger",
wal_keep_segments: 256 wal_keep_size: 4096 # 256 segments, 16MB each
} }
postgresql_server_conf "main" do postgresql_server_conf "main" do