]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Remove stale comment
authorJohn Naylor <john.naylor@postgresql.org>
Thu, 2 Jul 2026 06:15:35 +0000 (13:15 +0700)
committerJohn Naylor <john.naylor@postgresql.org>
Thu, 2 Jul 2026 06:15:35 +0000 (13:15 +0700)
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 <xunengzhou@gmail.com>
Discussion: https://postgr.es/m/CABPTF7XuFqwOcBJ1x0rTKvEvvQ+zfZVidmjTybJPmu9_zTL6Ug@mail.gmail.com

src/include/utils/timeout.h

index 0965b590b34019aea1d02adcdd0b738af8979816..4bae392fbd32c0bf48c0a14a5d4769abfee19b82 100644 (file)
@@ -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;