[BUG] Assert fails for local buffers in BufferIsDirty

Edit
ID 5428
Title [BUG] Assert fails for local buffers in BufferIsDirty
Topic Bug Fixes
Created 2024-12-09 04:36:52
Last modified 2025-01-29 18:32:52 (1 day, 17 hours ago)
Latest email 2025-01-29 18:32:05 (1 day, 17 hours ago)
Status
2025-01: Committed
Target version 17
Authors srinath reddy (s.srinathreddy)
Reviewers Nazir Bilal Yavuz (nbyavuz)Become reviewer
Committer Tom Lane (tgl)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/5428
git checkout commitfest/cf/5428
Emails
Why we need to check for local buffers in BufferIsExclusiveLocked and BufferIsDirty?
First at 2024-12-05 13:08:16 by Srinath Reddy Sadipiralla <srinath.reddy at zohocorp.com>
Latest at 2025-01-29 18:32:05 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (v2-0001-Handle-local-buffer-cases-properly.patch) at 2025-01-29 01:41:49 from Srinath Reddy <srinath2133 at gmail.com>
    Attachment (v2-0001-Handle-local-buffer-cases-properly.patch) at 2025-01-29 01:41:49 from Srinath Reddy <srinath2133 at gmail.com> (Patch: Yes)
    Attachment (0001-Handle-local-buffer-cases-properly.patch) at 2025-01-26 14:24:45 from Srinath Reddy <srinath2133 at gmail.com> (Patch: Yes)
    Attachment (0001-Dont-Assert-for-local-buffers.patch) at 2024-12-06 04:03:30 from Srinath Reddy Sadipiralla <srinath.reddy at zohocorp.com> (Patch: Yes)
    Attachment (0001-Ref-remove-local-buffer-checks.patch) at 2024-12-05 13:08:16 from Srinath Reddy Sadipiralla <srinath.reddy at zohocorp.com> (Patch: Yes)
History
When Who What
2025-01-29 18:32:52 Tom Lane (tgl) Closed in commitfest 2025-01 with status: Committed
2025-01-29 18:32:52 Tom Lane (tgl) Changed committer to tgl
2024-12-09 05:05:00 srinath reddy (s.srinathreddy) New status: Ready for Committer
2024-12-09 04:39:24 srinath reddy (s.srinathreddy) Changed authors to srinath reddy (s.srinathreddy)
2024-12-09 04:37:16 srinath reddy (s.srinathreddy) Changed reviewers to Nazir Bilal Yavuz (nbyavuz)
2024-12-09 04:37:16 srinath reddy (s.srinathreddy) Changed targetversion to 17
2024-12-09 04:36:52 srinath reddy (s.srinathreddy) Attached mail thread 19396ef77f8.1098c4a1810508.2255483659262451647@zohocorp.com
2024-12-09 04:36:52 srinath reddy (s.srinathreddy) Created patch record
Edit