Re: Unlogged rel fake lsn vs GetVictimBuffer() - Mailing list pgsql-hackers

From Melanie Plageman
Subject Re: Unlogged rel fake lsn vs GetVictimBuffer()
Date
Msg-id CAAKRu_Ypx4+a3ycAJm276E0F3UiQfo-XeusOmjOzOajHCLNHZA@mail.gmail.com
Whole thread
In response to Re: Unlogged rel fake lsn vs GetVictimBuffer()  (Melanie Plageman <melanieplageman@gmail.com>)
Responses Re: Unlogged rel fake lsn vs GetVictimBuffer()
List pgsql-hackers
On Tue, Mar 10, 2026 at 3:31 PM Melanie Plageman
<melanieplageman@gmail.com> wrote:
>
> None of my points above are blockers, so barring any objections I plan
> to push this later today/tomorrow. It hasn't been sitting out long but
> it is pretty trivial and I don't think it has any correctness issues.

Now, I'm thinking that I should allow BufferNeedsWALFlush() to be
called on local buffers. I removed it in v2 because Andres mentioned
it could never happen when called by StrategyRejectBuffer() (because
we don't use strategies on local buffers), but there's no reason
BufferNeedsWALFlush() can't be used more widely in the future.

- Melanie



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Interrupts vs signals
Next
From: Andres Freund
Date:
Subject: Re: Potential security risk associated with function call