Rename LWLockNewTrancheId() parameter from "name" to "tranche_name"

From: Sami Imseih <samimseih(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Subject: Rename LWLockNewTrancheId() parameter from "name" to "tranche_name"
Date: 2026-03-26 18:34:38
Message-ID: CAA5RZ0tpJ8GBrWshkUJ29Fu3juqgdbr=kfK3O9FMLrEy1zPOkg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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.

CC'ng Nathan who committed 38b602b0289fe1d where this was introduced.

--
Sami Imseih
Amazon Web Services (AWS)

Attachment Content-Type Size
v1-0001-Rename-LWLockNewTrancheId-parameter-from-name-to-.patch application/octet-stream 2.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2026-03-26 19:15:14 Re: Adding REPACK [concurrently]
Previous Message Daniel Gustafsson 2026-03-26 18:31:12 Re: Better shared data structure management and resizable shared data structures