> +/* backend-local copy of NamedLWLockTranches->num_user_defined */
> +static int LocalNumUserDefinedTranches;
> The comment here should reference "LWLockTranches->num_user_defined "
> instead.
> Also, there are a few places in lwlock.c where "named tranches" is mentioned.
> Maybe we should just say "user-defined tranches" instead?
Like the attached.
--
Sami