Re: Extension Enhancement: Buffer Invalidation in pg_buffercache - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Extension Enhancement: Buffer Invalidation in pg_buffercache
Date
Msg-id CA+hUKG+rjzQMJ_pWr=hiUXi8KFSgA-zDmXpxm+2fq3BkMh43OA@mail.gmail.com
Whole thread Raw
In response to Re: Extension Enhancement: Buffer Invalidation in pg_buffercache  (Maksim Milyutin <milyutinma@gmail.com>)
Responses Re: Extension Enhancement: Buffer Invalidation in pg_buffercache
List pgsql-hackers
On Tue, Apr 30, 2024 at 6:47 AM Maksim Milyutin <milyutinma@gmail.com> wrote:
>> Should not we call at the end the StrategyFreeBuffer() function to add target buffer to freelist and not miss it
afterinvalidation? 

> Please take a look at this issue, current implementation of EvictUnpinnedBuffer() IMO is erroneous - evicted buffers
arelost permanently and will not be reused again 

Hi Maksim,

Oops, thanks, will fix.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: DROP OWNED BY fails to clean out pg_init_privs grants
Next
From: Ranier Vilela
Date:
Subject: Re: Direct SSL connection and ALPN loose ends