summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-09-03 10:20:28 +0900
committerMichael Paquier <michael@paquier.xyz>2025-09-03 10:20:28 +0900
commitc6ea528b470f45832437f2a937cf2f4483d23737 (patch)
treec4e6f282b5ee5806248f4377daa682d2d7b30738 /src/include
parent229911c4bf9a4acfb2b81cff148fd8391e0a577b (diff)
Update outdated references to the SLRU ControlLock
SLRU bank locks are referred as "bank locks" or "SLRU bank locks" in the code comments. The comments updated in this commit use the latter term. Oversight in 53c2a97a9266, that has replaced the single ControlLock by the bank control locks. Author: Julien Rouhaud <julien.rouhaud@free.fr> Discussion: https://postgr.es/m/aLUT2UO8RjJOzZNq@jrouhaud Backpatch-through: 17
Diffstat (limited to 'src/include')
-rw-r--r--src/include/access/slru.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/slru.h b/src/include/access/slru.h
index 20dbd1e0070..8d57753ed01 100644
--- a/src/include/access/slru.h
+++ b/src/include/access/slru.h
@@ -55,7 +55,7 @@ typedef enum
/*
* Shared-memory state
*
- * ControlLock is used to protect access to the other fields, except
+ * SLRU bank locks are used to protect access to the other fields, except
* latest_page_number, which uses atomics; see comment in slru.c.
*/
typedef struct SlruSharedData