From 953c911e82e4371bc8e4ce29be49b4b13a2325f9 Mon Sep 17 00:00:00 2001 From: Julian Rother Date: Sun, 25 Jun 2023 00:34:01 +0200 Subject: [PATCH] Another Bookworm fix --- templates/postgresql.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) 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 -