From: John Naylor Date: Thu, 2 Jul 2026 06:15:35 +0000 (+0700) Subject: Remove stale comment X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11b33bd3c19c5f28310dd97a3d785b773a789da4;p=thirdparty%2Fpostgresql.git 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 --- 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;