Why we need to check for local buffers in BufferIsExclusiveLocked and BufferIsDirty?
Srinath Reddy Sadipiralla <srinath.reddy@zohocorp.com>
From: Srinath Reddy Sadipiralla <srinath.reddy@zohocorp.com>
To: "pgsql-hackers" <pgsql-hackers@lists.postgresql.org>, "pgsql" <pgsql@j-davis.com>
Date: 2024-12-05T13:08:16Z
Lists: pgsql-hackers
Attachments
- 0001-Ref-remove-local-buffer-checks.patch (application/octet-stream)
Hi, Why we need to check for local buffers in BufferIsExclusiveLocked and BufferIsDirty?,these 2 functions are called only from XlogRegisterBuffer,AFAIK which will be called only for permanent relations.Please correct me if i am wrong. Regards, Srinath Reddy Sadipiralla Member of Technical Staff Zoho
Commits
-
Make BufferIsExclusiveLocked and BufferIsDirty work for local buffers.
- f6ff75f79689 18.0 landed