]> git.openstreetmap.org Git - chef.git/commitdiff
Drop setting of stats_temp_directory for Postgres 15
authorTom Hughes <tom@compton.nu>
Sun, 22 Jan 2023 10:30:41 +0000 (10:30 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 22 Jan 2023 10:30:41 +0000 (10:30 +0000)
cookbooks/postgresql/templates/default/postgresql.conf.erb

index d75c2f427a0fb44e567dbf8a75ee612c69b017a0..f26c7120be08e09d463686a09dad47ee6860beb7 100644 (file)
@@ -138,7 +138,9 @@ log_line_prefix = '%t '
 # - Query/Index Statistics Collector -
 
 track_activity_query_size = <%= @settings[:track_activity_query_size] || @defaults[:track_activity_query_size] %>
+<% if @version.to_f < 15 -%>
 stats_temp_directory = '/run/postgresql/<%= @version %>-main.pg_stat_tmp'
+<% end -%>
 
 #------------------------------------------------------------------------------
 # AUTOVACUUM PARAMETERS