pgsql: Fix inconsistent LWLock tranche name "CommitTsSLRU"

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix inconsistent LWLock tranche name "CommitTsSLRU"
Date: 2024-09-04 01:23:04
Message-ID: E1slejf-0002Zq-9X@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix inconsistent LWLock tranche name "CommitTsSLRU"

This term was using an inconsistent casing between the code and the
documentation, using "CommitTsSLRU" in wait_event_names.txt and
"CommitTSSLRU" in the code.

Let's update the term in the code to reflect what's in the
documentation, "CommitTs" being more commonly used, so as
pg_stat_activity shows the same term as the documentation.

Oversight in 53c2a97a9266.

Author: Alexander Lakhin
Discussion: https://postgr.es/m/f7e514cf-2446-21f1-a5d2-8c089a6e2168@gmail.com
Backpatch-through: 17

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/08b9b9e043bb42c12f5cd7439b9c19833fe877d0

Modified Files
--------------
src/backend/storage/lmgr/lwlock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Richard Guo 2024-09-04 03:20:48 pgsql: Avoid unnecessary post-sort projection
Previous Message Michael Paquier 2024-09-03 23:56:53 pgsql: Avoid installcheck failure in TAP tests using injection_points