Please find attached patch that adds CHECK_FOR_INTERRUPTS while scanning the buffers in pg_buffercache_pages. I checked other functions in the module and this check already exists in pg_buffercache_numa_pages.
Thanks, Satya
pg_buffercache_interrupt_check.patch
Description: Binary data