Jul 2026

1 commit
Make max_pinned_buffers be > 0, don't just Assert that it is.
15 Jul 2026Tom LaneREL_17_STABLE17.11
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The commit replaces Assert(max_pinned_buffers > 0) with Max(1, max_pinned_buffers) in src/backend/storage/aio/read_stream.c, exactly the minimal backpatch proposed inline by Tom Lane in #3. Its message credits Thomas Munro as author, who did not post in this thread, and limits the fix to PostgreSQL 17.

  • Tom Lanesaw the final versiontrailerTom Lane identified the SQL-triggerable assertion and proposed the runtime clamp in #3, then committed the fix.

Credits across 1 commit

Author
Thomas Munro1
Reviewer
Tom Lane1
Reported by
Zharkov Roman1
Committer
Tom Lane1