From 11b33bd3c19c5f28310dd97a3d785b773a789da4 Mon Sep 17 00:00:00 2001 From: John Naylor Date: Thu, 2 Jul 2026 13:15:35 +0700 Subject: [PATCH] Remove stale comment Commit 732e6677a added a member to TimeoutType, invalidating the comment on EnableTimeoutParams.type. Rather than documenting the list, as is done for vars that should only take a subset of enum values, just remove the comment. Author: Xuneng Zhou Discussion: https://postgr.es/m/CABPTF7XuFqwOcBJ1x0rTKvEvvQ+zfZVidmjTybJPmu9_zTL6Ug@mail.gmail.com --- 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;