Fix typo with wait event for SLRU buffer of commit timestamps
authorMichael Paquier <[email protected]>
Fri, 5 May 2023 12:26:02 +0000 (21:26 +0900)
committerMichael Paquier <[email protected]>
Fri, 5 May 2023 12:26:02 +0000 (21:26 +0900)
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

src/backend/storage/lmgr/lwlock.c

index 365d215f2bc989df37a3a347a2e5c68f7d05a909..db89137c033df9e4237c77208483676f7ab7b029 100644 (file)
@@ -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: */