Add CHECK_FOR_INTERRUPTS in pg_buffercache_pages while scanning the buffers

SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>

From: SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2025-07-31T23:31:17Z
Lists: pgsql-hackers

Attachments

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