From 1197b06f1478ac0f0ac8ec3fd938459966fa1910 Mon Sep 17 00:00:00 2001 From: nathan-clark <56871207+nathan-clark@users.noreply.github.com> Date: Thu, 10 Oct 2024 14:48:54 +0100 Subject: [PATCH] Update main.tf --- infrastructure/main.tf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/infrastructure/main.tf b/infrastructure/main.tf index a466d713d8..99994beea1 100644 --- a/infrastructure/main.tf +++ b/infrastructure/main.tf @@ -100,7 +100,20 @@ module "postgresql_v15" { { name = "logfiles.retention_days" value = "7" + }, + { + name = "pg_qs.query_capture_mode" + value = "ALL" + }, + { + name = "log_lock_waits" + value = "on" + }, + { + name = "pgms_wait_sampling.query_capture_mode" + value = "ALL" } + ] pgsql_version = "15" product = var.product