pgsql: Fix inconsistent LWLock tranche name "CommitTsSLRU" - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix inconsistent LWLock tranche name "CommitTsSLRU"
Date
Msg-id E1slejf-0002Zq-9X@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Avoid installcheck failure in TAP tests using injection_points
Next
From: Richard Guo
Date:
Subject: pgsql: Check the validity of commutators for merge/hash clauses