Add CHECK_FOR_INTERRUPTS in pg_buffercache_pages while scanning the buffers

From: SATYANARAYANA NARLAPURAM <satyanarlapuram(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Add CHECK_FOR_INTERRUPTS in pg_buffercache_pages while scanning the buffers
Date: 2025-07-31 23:31:17
Message-ID: CAHg+QDcejeLx7WunFT3DX6XKh1KshvGKa8F5au8xVhqVvvQPRw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
pg_buffercache_interrupt_check.patch application/octet-stream 1.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Japin Li 2025-07-31 23:34:12 Re: log_min_messages per backend type
Previous Message Michael Paquier 2025-07-31 23:28:47 Re: Making type Datum be 8 bytes everywhere