diff options
author | Andres Freund <andres@anarazel.de> | 2025-10-08 14:34:30 -0400 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2025-10-08 14:34:30 -0400 |
commit | 3c2b97b29ee33d5619779fd10e06eee07d4700da (patch) | |
tree | c2cc427ff7fa3b66593c27bf9d96bb3e4503cf62 /src/backend/storage/buffer/buf_init.c | |
parent | 819dc118c0f6cd1fc08f0e807702b4bc0b0d8733 (diff) |
bufmgr: Introduce FlushUnlockedBuffer
There were several copies of code locking a buffer, flushing its contents, and
unlocking the buffer. It seems worth centralizing that into a helper function.
Reviewed-by: Matthias van de Meent <boekewurm+postgres@gmail.com>
Discussion: https://postgr.es/m/fvfmkr5kk4nyex56ejgxj3uzi63isfxovp2biecb4bspbjrze7@az2pljabhnff
Diffstat (limited to 'src/backend/storage/buffer/buf_init.c')
0 files changed, 0 insertions, 0 deletions