X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/5d5f0eab4047b150ee149aefe6f92d1c0ea9cc83..f47bac0a1d5a605cf56ce608340871c4de7e3121:/cookbooks/postgresql/templates/default/postgresql.conf.erb diff --git a/cookbooks/postgresql/templates/default/postgresql.conf.erb b/cookbooks/postgresql/templates/default/postgresql.conf.erb index 6e9e29d6f..3c84ec994 100644 --- a/cookbooks/postgresql/templates/default/postgresql.conf.erb +++ b/cookbooks/postgresql/templates/default/postgresql.conf.erb @@ -86,6 +86,7 @@ archive_command = '<%= @settings[:archive_command] || @defaults[:archive_command # - Sending Server(s) - max_wal_senders = <%= @settings[:max_wal_senders] || @defaults[:max_wal_senders] %> +max_replication_slots = <%= @settings[:max_replication_slots] || @defaults[:max_replication_slots] %> # - Standby Servers - @@ -102,8 +103,14 @@ random_page_cost = <%= @settings[:random_page_cost] || @defaults[:random_page_co cpu_tuple_cost = <%= @settings[:cpu_tuple_cost] || @defaults[:cpu_tuple_cost] %> effective_cache_size = <%= @settings[:effective_cache_size] || @defaults[:effective_cache_size] %> +# - Other Planner Options - + +<% if @version.to_f >= 12 -%> +jit = <%= @settings[:jit] || @defaults[:jit] %> +<% end -%> + #------------------------------------------------------------------------------ -# ERROR REPORTING AND LOGGING +# REPORTING AND LOGGING #------------------------------------------------------------------------------ # - When to Log -