On Thu, Nov 27, 2025 at 11:07:43AM +0800, 邱宇航 wrote: > Yes, and we got another two loops in pg_buffercache_evict functions, > and more loops in Drop/Flush relation/database buffers functions. Maybe > we can abstract them into a generic loop function and it takes a buffer > handler function pointer to avoid duplication?
I was considering an option when looking at the patch this morning, but could not get behind it as it hides the internals of the routines inside one extra layer of routines.. So what Nazir has done seems like a balance good enough, at least for me. -- Michael
signature.asc
Description: PGP signature
