Rename BUFFERPIN wait event class to BUFFER
Andres Freund <andres@anarazel.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/monitoring.sgml | modified | +3 −5 |
| src/backend/storage/buffer/bufmgr.c | modified | +1 −1 |
| src/backend/storage/ipc/standby.c | modified | +1 −1 |
| src/backend/utils/activity/wait_event.c | modified | +6 −6 |
| src/backend/utils/activity/wait_event_names.txt | modified | +3 −3 |
| src/include/utils/wait_classes.h | modified | +1 −1 |
| src/test/recovery/t/048_vacuum_horizon_floor.pl | modified | +1 −1 |
| src/test/regress/expected/sysviews.out | modified | +1 −1 |
| src/tools/pgindent/typedefs.list | modified | +1 −1 |
Discussion
- Buffer locking is special (hints, checksums, AIO writes) 120 messages · 2025-08-22 → 2026-04-03