Skip to content

Commit 08b9b9e

Browse files
committed
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 53c2a97. Author: Alexander Lakhin Discussion: https://postgr.es/m/f7e514cf-2446-21f1-a5d2-8c089a6e2168@gmail.com Backpatch-through: 17
1 parent 2cdcae9 commit 08b9b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/storage/lmgr/lwlock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ static const char *const BuiltinTrancheNames[] = {
158158
[LWTRANCHE_LAUNCHER_HASH] = "LogicalRepLauncherHash",
159159
[LWTRANCHE_DSM_REGISTRY_DSA] = "DSMRegistryDSA",
160160
[LWTRANCHE_DSM_REGISTRY_HASH] = "DSMRegistryHash",
161-
[LWTRANCHE_COMMITTS_SLRU] = "CommitTSSLRU",
161+
[LWTRANCHE_COMMITTS_SLRU] = "CommitTsSLRU",
162162
[LWTRANCHE_MULTIXACTOFFSET_SLRU] = "MultixactOffsetSLRU",
163163
[LWTRANCHE_MULTIXACTMEMBER_SLRU] = "MultixactMemberSLRU",
164164
[LWTRANCHE_NOTIFY_SLRU] = "NotifySLRU",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy