From 588b7ef0e7a32341a437d07e22144e887937371a Mon Sep 17 00:00:00 2001 From: Chris Gwilliams <517923+encima@users.noreply.github.com> Date: Fri, 14 Nov 2025 19:16:12 +0200 Subject: [PATCH] fix: variable update check for _timeout made explicit to exclude checkpoint_timeout --- internal/postgresConfig/update/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/postgresConfig/update/update.go b/internal/postgresConfig/update/update.go index 4d7e42087..7ff642307 100644 --- a/internal/postgresConfig/update/update.go +++ b/internal/postgresConfig/update/update.go @@ -56,7 +56,7 @@ func Run(ctx context.Context, projectRef string, values []string, replaceOverrid } // statement_timeout and wal_sender_timeout must be typed as string for k, v := range finalOverrides { - if _, ok := v.(string); strings.HasSuffix(k, "_timeout") && !ok { + if _, ok := v.(string); strings.HasSuffix(k, "statement_timeout") || strings.HasSuffix(k, "wal_sender_timeout") && !ok { finalOverrides[k] = fmt.Sprintf("%v", v) } }