Re: Update EnableTimeoutParams timeout type comment

Xuneng Zhou <xunengzhou@gmail.com>

From: Xuneng Zhou <xunengzhou@gmail.com>
To: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-07-01T01:49:55Z
Lists: pgsql-hackers
On Wed, Jul 1, 2026 at 9:43 AM Xuneng Zhou <xunengzhou@gmail.com> wrote:
>
> Hi Hackers,
>
> While reading the timeout code, I noticed that the comment for
> EnableTimeoutParams timeout type is kinda stale. Currently, we support
> three types of timeout TMPARAM_AFTER/AT/EVERY, but the comment only
> mentions the first two. It may not cause confusion, since the two
> structs are adjacent, but it might still be worth making this clearer.
> Attached a patch to update it.

Opus, it should be "the struct and the enum", not two structs.

-- 
Regards,
Xuneng Zhou
HighGo Software Co., Ltd.



Commits

  1. Remove stale comment