Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache

From: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Xuneng Zhou <xunengzhou(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Aidar Imamov <a(dot)imamov(at)postgrespro(dot)ru>, Joseph Koshakow <koshy44(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache
Date: 2025-11-24 07:48:24
Message-ID: CAN55FZ1E4ruwjjarUc0WoHxSpW=CZ0aEPfSrUC4z65UtEM7DNw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Mon, 24 Nov 2025 at 08:46, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> On Fri, Aug 08, 2025 at 01:16:57PM +0300, Nazir Bilal Yavuz wrote:
> > Thank you for looking into this! And sorry for the late reply.
>
> Could you rebase, please? This has not applied for some time, but
> I've made the situation worse with 4b203d499c61. No need to bump
> again the module for this release cycle, we can stay at 1.7 for the
> new objects.
> --
> Michael

Thanks for the heads up! It is rebased, I also added
'CHECK_FOR_INTERRUPTS()' while looping over the 'NBuffers' regarding
the comment in the email [1].

[1] https://postgr.es/m/D5BB1D85-0F2A-419F-A7B1-426505525D3A%40gmail.com

--
Regards,
Nazir Bilal Yavuz
Microsoft

Attachment Content-Type Size
v9-0001-Add-pg_buffercache_mark_dirty-_relation-_all-func.patch text/x-patch 24.8 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nazir Bilal Yavuz 2025-11-24 07:50:03 Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache
Previous Message Peter Smith 2025-11-24 07:32:39 Re: Skipping schema changes in publication