diff options
| author | Andres Freund <andres@anarazel.de> | 2025-12-03 18:38:20 -0500 |
|---|---|---|
| committer | Andres Freund <andres@anarazel.de> | 2025-12-03 18:38:20 -0500 |
| commit | 6c5c393b74031351721f8a44e55bfaf6f249eefb (patch) | |
| tree | 7760cb5828250a557b64fc281bba1c695b6b74b5 /src/include/utils/wait_classes.h | |
| parent | 7902a47c20b1d5c0b7d20071f9ada6a0185bf39b (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/include/utils/wait_classes.h')
| -rw-r--r-- | src/include/utils/wait_classes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/utils/wait_classes.h b/src/include/utils/wait_classes.h index 51ee68397d5..57888aa62f7 100644 --- a/src/include/utils/wait_classes.h +++ b/src/include/utils/wait_classes.h @@ -17,7 +17,7 @@ */ #define PG_WAIT_LWLOCK 0x01000000U #define PG_WAIT_LOCK 0x03000000U -#define PG_WAIT_BUFFERPIN 0x04000000U +#define PG_WAIT_BUFFER 0x04000000U #define PG_WAIT_ACTIVITY 0x05000000U #define PG_WAIT_CLIENT 0x06000000U #define PG_WAIT_EXTENSION 0x07000000U |
