Upgrade WAL config for PG14
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user