Give StartReadBuffers() a more robust interface.

Edit
ID 6297
Title Give StartReadBuffers() a more robust interface.
CI (CFBot) Summary
Stats (from CFBot) Patch count: 0, First patch: +0−0, All patches: +0−0
Topic Refactoring
Tags AIO
Created 2025-12-08 11:43:28
Last modified 2025-12-08 11:43:28 (1 hour ago)
Latest email 2025-10-11 12:32:05 (1 month ago)
Status
PG19-4 (2026-01-01 – 2026-01-31): Needs review
Target version 19
Authors Thomas Munro (macdice)
Reviewers Xuneng Zhou (dylanzhou)Become reviewer
Committer
Links
Emails
BUG #19006: Assert(BufferIsPinned) in BufferGetBlockNumber() is triggered for forwarded buffer
First at 2025-08-03 12:00:02 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2025-10-11 12:32:05 by Xuneng Zhou <xunengzhou at gmail.com>
Latest attachment (cold_cache_perftest.zip) at 2025-08-22 11:58:00 from Xuneng Zhou <xunengzhou at gmail.com>
    Attachment (cold_cache_perftest.zip) at 2025-08-22 11:58:00 from Xuneng Zhou <xunengzhou at gmail.com> (Patch: No)
    Attachment (perftests.zip) at 2025-08-22 03:25:47 from Xuneng Zhou <xunengzhou at gmail.com> (Patch: No)
    Attachment (v2-0001-Give-StartReadBuffers-a-more-robust-interface.patch) at 2025-08-09 04:03:41 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (0001-Fix-and-refactor-read_stream.c-s-split-IO-handling.patch) at 2025-08-08 15:06:53 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (v2-0001-Fix-bug-in-read_stream.c-s-split-IO-handling.patch) at 2025-08-08 02:43:52 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (0001-Fix-bug-in-read_stream.c-s-split-IO-handling.patch) at 2025-08-05 04:29:17 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
History
When Who What
2025-12-08 11:44:05 Xuneng Zhou (dylanzhou) Added dylanzhou as reviewer
2025-12-08 11:43:28 Xuneng Zhou (dylanzhou) Attached mail thread 19006-80fcaaf69000377e@postgresql.org
2025-12-08 11:43:28 Xuneng Zhou (dylanzhou) Created patch record
Edit