pg_buffercache buffer manipulation
Add pg_buffercache functions to evict shared buffers and mark them dirty for testing and debugging.
Versions
- PostgreSQL 19 · shipped · improved · moderate · 3 commits · +496 / -10 lines
- PostgreSQL 18 · shipped · improved · moderate · 1 commit · +483 / -39 lines
- PostgreSQL 17 · shipped · improved · moderate · 1 commit · +127 / -8 lines
Threads
- Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache
- Add CHECK_FOR_INTERRUPTS in Evict{Rel,All}UnpinnedBuffers
- Add pg_buffercache_evict_all() and pg_buffercache_mark_dirty[_all]() functions
- Minor fix in pg_buffercache_evict documentation
- Extension Enhancement: Buffer Invalidation in pg_buffercache
- Bypassing shared_buffers