Re: Rename LWLockNewTrancheId() parameter from "name" to "tranche_name" - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Rename LWLockNewTrancheId() parameter from "name" to "tranche_name"
Date
Msg-id acWJXUQVYExHC063@nathan
Whole thread Raw
In response to Rename LWLockNewTrancheId() parameter from "name" to "tranche_name"  (Sami Imseih <samimseih@gmail.com>)
Responses Re: Rename LWLockNewTrancheId() parameter from "name" to "tranche_name"
List pgsql-hackers
On Thu, Mar 26, 2026 at 01:34:38PM -0500, Sami Imseih wrote:
> While looking at something nearby, I noticed a naming inconsistency for
> the parameter name in LWLockNewTrancheId(). It should be tranche_name,
> similar to RequestNamedLWLockTranche(), and in other places it's
> referenced in the docs/comments.

I don't mind changing it, but I don't find "tranche_name" to be
substantially better than "name" in this case.  Maybe it's a little
clearer, but there's not much room for confusion here.

-- 
nathan



pgsql-hackers by date:

Previous
From: "Matheus Alcantara"
Date:
Subject: Add custom EXPLAIN options support to auto_explain
Next
From: Sami Imseih
Date:
Subject: Re: Rename LWLockNewTrancheId() parameter from "name" to "tranche_name"