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

From Sami Imseih
Subject Re: Rename LWLockNewTrancheId() parameter from "name" to "tranche_name"
Date
Msg-id CAA5RZ0uJ15COoA5xxvVcMH_WKqozc=ozH_JYuyO6PJjvLyCJ0g@mail.gmail.com
Whole thread
In response to Re: Rename LWLockNewTrancheId() parameter from "name" to "tranche_name"  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-hackers
> > 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.

It's just a matter of consistency and it's more descriptive to the
caller, IMO.

--
Sami Imseih
Amazon Web Services (AWS)



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Rename LWLockNewTrancheId() parameter from "name" to "tranche_name"
Next
From: Antonin Houska
Date:
Subject: Re: Adding REPACK [concurrently]