summaryrefslogtreecommitdiff
path: root/src/backend/storage/buffer
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2025-12-03 18:38:20 -0500
committerAndres Freund <andres@anarazel.de>2025-12-03 18:38:20 -0500
commit6c5c393b74031351721f8a44e55bfaf6f249eefb (patch)
tree7760cb5828250a557b64fc281bba1c695b6b74b5 /src/backend/storage/buffer
parent7902a47c20b1d5c0b7d20071f9ada6a0185bf39b (diff)
Rename BUFFERPIN wait event class to BUFFER
In an upcoming patch more wait events will be added to the wait event class (for buffer locking), making the current name too specific. Alternatively we could introduce a dedicated wait event class for those, but it seems somewhat confusing to have a BUFFERPIN and a BUFFER wait event class. Reviewed-by: Melanie Plageman <melanieplageman@gmail.com> Discussion: https://postgr.es/m/fvfmkr5kk4nyex56ejgxj3uzi63isfxovp2biecb4bspbjrze7@az2pljabhnff
Diffstat (limited to 'src/backend/storage/buffer')
-rw-r--r--src/backend/storage/buffer/bufmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/buffer/bufmgr.c b/src/backend/storage/buffer/bufmgr.c
index 00d9a23b675..62f420dd344 100644
--- a/src/backend/storage/buffer/bufmgr.c
+++ b/src/backend/storage/buffer/bufmgr.c
@@ -5799,7 +5799,7 @@ LockBufferForCleanup(Buffer buffer)
SetStartupBufferPinWaitBufId(-1);
}
else
- ProcWaitForSignal(WAIT_EVENT_BUFFER_PIN);
+ ProcWaitForSignal(WAIT_EVENT_BUFFER_CLEANUP);
/*
* Remove flag marking us as waiter. Normally this will not be set