From 48e2866dcb21a9704b510f7e30a973e7cd9fa380 Mon Sep 17 00:00:00 2001 From: alterego655 <824662526@qq.com> Date: Wed, 1 Jul 2026 12:28:27 +0800 Subject: [PATCH v2] Remove stale EnableTimeoutParams type comment The field comment listed only TMPARAM_AFTER and TMPARAM_AT, but TimeoutType also includes TMPARAM_EVERY. Since the enum is defined immediately above the struct, remove the duplicative comment instead of updating it. --- src/include/utils/timeout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/utils/timeout.h b/src/include/utils/timeout.h index 0965b590b34..4bae392fbd3 100644 --- a/src/include/utils/timeout.h +++ b/src/include/utils/timeout.h @@ -58,7 +58,7 @@ typedef enum TimeoutType typedef struct { TimeoutId id; /* timeout to set */ - TimeoutType type; /* TMPARAM_AFTER or TMPARAM_AT */ + TimeoutType type; int delay_ms; /* only used for TMPARAM_AFTER/EVERY */ TimestampTz fin_time; /* only used for TMPARAM_AT */ } EnableTimeoutParams; -- 2.51.0