X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/27e33fa61307e73ca2b81bc16ac09699878970ce..3720032b9487e8cdd89eed9461ddeeac2c3cd764:/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 565d18031..6022ea6c5 100644 --- a/cookbooks/postgresql/templates/default/postgresql.conf.erb +++ b/cookbooks/postgresql/templates/default/postgresql.conf.erb @@ -102,8 +102,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 - @@ -127,8 +133,8 @@ track_activity_query_size = <%= @settings[:track_activity_query_size] || @defaul #------------------------------------------------------------------------------ autovacuum_max_workers = <%= @settings[:autovacuum_max_workers] || @defaults[:autovacuum_max_workers] %> -autovacuum_vacuum_scale_factor =<%= @settings[:autovacuum_vacuum_scale_factor] || @defaults[:autovacuum_vacuum_scale_factor] %> -autovacuum_analyze_scale_factor =<%= @settings[:autovacuum_analyze_scale_factor] || @defaults[:autovacuum_analyze_scale_factor] %> +autovacuum_vacuum_scale_factor = <%= @settings[:autovacuum_vacuum_scale_factor] || @defaults[:autovacuum_vacuum_scale_factor] %> +autovacuum_analyze_scale_factor = <%= @settings[:autovacuum_analyze_scale_factor] || @defaults[:autovacuum_analyze_scale_factor] %> #------------------------------------------------------------------------------ # CLIENT CONNECTION DEFAULTS