Re: Add CHECK_FOR_INTERRUPTS in pg_buffercache_pages while scanning the buffers

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: SATYANARAYANA NARLAPURAM <satyanarlapuram(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add CHECK_FOR_INTERRUPTS in pg_buffercache_pages while scanning the buffers
Date: 2025-08-08 21:59:01
Message-ID: CAD21AoAjcqgaDRCjcRKnsT7O-eg3rKGQtFdycrifx+Khqw-6ZQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jul 31, 2025 at 4:31 PM SATYANARAYANA NARLAPURAM
<satyanarlapuram(at)gmail(dot)com> wrote:
>
> 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.

Thank you for the patch!

I think the patch is reasonable and it looks good to me. I'll push it
to master early next week, barring objections.

Regards,

--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2025-08-08 22:24:47 Re: Support getrandom() for pg_strong_random() source
Previous Message Paul A Jungwirth 2025-08-08 21:46:01 Re: Inline non-SQL SRFs using SupportRequestSimplify