On 2022-08-29 15:24:49 -0700, Nathan Bossart wrote: > I'd like to propose some new hooks for the buffer manager. My primary goal > is to allow users to create an additional caching mechanism between the > shared buffers and disk for evicted buffers.
I'm very doubtful this is a good idea. These are quite hot paths. While not a huge cost, adding an indirection isn't free nonetheless. I also think it'll make it harder to improve things in this area, which needs quite a bit of work.