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) } }