Re: GetBufferDescriptor() being called for local buffers from MarkBufferDirtyHint() - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: GetBufferDescriptor() being called for local buffers from MarkBufferDirtyHint()
Date
Msg-id akcnk4FiD8eJsD_0@paquier.xyz
Whole thread
In response to Re: GetBufferDescriptor() being called for local buffers from MarkBufferDirtyHint()  (Ayush Tiwari <ayushtiwari.slg01@gmail.com>)
List pgsql-hackers
On Fri, Jul 03, 2026 at 06:22:12AM +0530, Ayush Tiwari wrote:
> v3 does what you suggested: both GetBufferDescriptor() and
> GetLocalBufferDescriptor() now take a signed int, but only
> GetBufferDescriptor()
> keeps the bounds assertion (id >= 0 && id < NBuffers). I need to
> spend some more time on the GetLocalBufferDescriptor function.

Ah sorry, I have unfortunately missed your point upthread.  At least
we are on the same line.  :)

I have just applied your v3, let's close this thread.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: GetBufferDescriptor() being called for local buffers from MarkBufferDirtyHint()
Next
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: Re-read subscription state after lock in AlterSubscription