aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-05-05 21:25:56 +0900
committerMichael Paquier <michael@paquier.xyz>2023-05-05 21:25:56 +0900
commitae4ffa7227f6c7239400955953ad805c2eccd3e5 (patch)
tree7ed54f54105fb757638c9510244a2c42682d5a55
parente0702250040437e314779babcc417d7448a1f017 (diff)
downloadpostgresql-ae4ffa7227f6c7239400955953ad805c2eccd3e5.tar.gz
postgresql-ae4ffa7227f6c7239400955953ad805c2eccd3e5.zip
Fix typo with wait event for SLRU buffer of commit timestamps
This wait event was documented as "CommitTsBuffer" since its introduction, but the code named it "CommitTSBuffer". This commit fixes the code to follow the term documented, which is also more consistent with the naming of the other wait events used for commit timestamps. Introduced by 5da1493. Author: Alexander Lakhin Discussion: https://postgr.es/m/e8c38840-596a-83d6-bd8d-cebc51111572@gmail.com Backpatch-through: 13
-rw-r--r--src/backend/storage/lmgr/lwlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/lmgr/lwlock.c b/src/backend/storage/lmgr/lwlock.c
index 07eb6f60911..d63dc1b93ea 100644
--- a/src/backend/storage/lmgr/lwlock.c
+++ b/src/backend/storage/lmgr/lwlock.c
@@ -131,7 +131,7 @@ static const char *const BuiltinTrancheNames[] = {
/* LWTRANCHE_XACT_BUFFER: */
"XactBuffer",
/* LWTRANCHE_COMMITTS_BUFFER: */
- "CommitTSBuffer",
+ "CommitTsBuffer",
/* LWTRANCHE_SUBTRANS_BUFFER: */
"SubtransBuffer",
/* LWTRANCHE_MULTIXACTOFFSET_BUFFER: */