diff --git a/templates/postgresql.conf.j2 b/templates/postgresql.conf.j2 index b17a3cb..c7d62ca 100644 --- a/templates/postgresql.conf.j2 +++ b/templates/postgresql.conf.j2 @@ -583,7 +583,9 @@ cluster_name = '{{ pg_version }}/main' # added to process titles if nonempty #track_io_timing = off #track_functions = none # none, pl, all #track_activity_query_size = 1024 # (change requires restart) +{% if pg_version|int < 15 %} stats_temp_directory = '/var/run/postgresql/{{ pg_version }}-main.pg_stat_tmp' +{% endif %} # - Monitoring -