Re: Clean up NamedLWLockTranche stuff - Mailing list pgsql-hackers

From Sami Imseih
Subject Re: Clean up NamedLWLockTranche stuff
Date
Msg-id CAA5RZ0sLENRM+BicUjQFs_rP38oPx3gm0SsGrD0-jMhhM+HZ_w@mail.gmail.com
Whole thread
In response to Re: Clean up NamedLWLockTranche stuff  (Sami Imseih <samimseih@gmail.com>)
Responses Re: Clean up NamedLWLockTranche stuff
List pgsql-hackers
> +/* 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

Attachment

pgsql-hackers by date:

Previous
From: Yugo Nagata
Date:
Subject: Re: Adjust error message for CREATE STATISTICS to account for expressions
Next
From: Nisha Moond
Date:
Subject: Re: Use SIGTERM instead of SIGUSR1 for slotsync worker to exit during promotion?