Re: Add os_page_num to pg_buffercache

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: Mircea Cadariu <cadariu(dot)mircea(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Add os_page_num to pg_buffercache
Date: 2025-08-22 08:48:57
Message-ID: aKgu+V2pD9wTE+5y@ip-10-97-1-34.eu-west-3.compute.internal
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Thu, Aug 21, 2025 at 12:08:37PM +0100, Mircea Cadariu wrote:
> Hi,
>
> A small addendum might make sense for this patch, given a recent change to
> master.
>
> A CHECK_FOR_INTERRUPTS() call was added in several pg_buffercache functions
> in commit eab9e4e.
>
> See also the corresponding discussion [1].
>
> Shall we add it to the function introduced in this patch as well?

Yeah, I think so. Thanks for the ping, done in attached.

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachment Content-Type Size
v7-0001-Introduce-GET_MAX_BUFFER_ENTRIES-and-get_buffer_p.patch text/x-diff 3.6 KB
v7-0002-Add-pg_buffercache_os_pages-function-and-view.patch text/x-diff 19.8 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kirill Reshke 2025-08-22 08:59:37 Re: CREATE SCHEMA ... CREATE DOMAIN support
Previous Message jian he 2025-08-22 08:19:35 Re: SQL:2023 JSON simplified accessor support