Nov 2026

1 commit
Fix SP-GiST index-only scans with non-returnable keys.
19 Nov 2026Peter GeogheganmasterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedAlso in: [PATCH v2] Fix SP-GiST index-only scans that return only INCLUDE columns (modified before commit)

Sep 2026

5 commits
Have read_stream_reset reset pending_read_nblocks.
15 Sep 2026Peter Geogheganmasterunreleased
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #5001 of 1 reviewer saw the final version

Extracts Tomas's pending_read_nblocks reset fix from #500; the committed read_stream.c hunk adds only an explanatory comment.

  • Peter Geoghegansaw the final versioncommittercommitted the patch
Add slot-based table AM index scan interface.
15 Sep 2026Peter Geogheganmasterunreleased
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #5000 of 3 reviewers saw the final version

Commits the slot-interface member of #500, leaving batching and prefetch pending; differences are principally API comments, redundant assertions and local cleanup.

  • Andres Freundsaw an earlier versiontrailerAndres reviewed the slot API and table-AM ownership in #475, #480 and #484, before substantial later slot and helper refactoring.
  • Tomas Vondrasaw an earlier versiontrailerTomas reviewed the complete first patch in #493, before later fetch_tid simplification and index-only specialization.
  • Rui Zhaosaw an earlier versiontrailerRui reported extensive correctness/performance tests and supplied a header split in #499, before the helper-module and inlining rework in #500.
Add non-MVCC index scan test module.
3 Sep 2026Peter Geogheganmasterunreleased
LLM analysis, 96% surepart of a posted patchsetmoderate changesfrom patchset #4970 of 1 reviewer saw the final version

Extracts the non-MVCC test module embedded in #497; the commit adapts it to the existing scan API, changes direction selection to a boolean, and adds index validation.

  • Tomas Vondrasaw an earlier versiontrailerTomas reviewed the enclosing slot patch in #493; additional test-module validation and interface changes followed.
Add index scan pgstat test coverage.
3 Sep 2026Peter Geogheganmasterunreleased
LLM analysis, 98% surepart of a posted patchsetlight changesfrom patchset #4971 of 1 reviewer saw the final version

Extracts pg_stat_all_indexes tests from #497, adding idx_scan checks and transaction-local planner settings while leaving the slot-interface implementation out.

  • Tomas Vondrasaw the final versiontrailerTomas reviewed the first patch in #493; its statistics-test hunks remained unchanged through #497, followed only by test refinements.
Move visibility map memory ordering comments.
3 Sep 2026Peter Geogheganmasterunreleased
LLM analysis, 98% surepart of a posted patchsetlight changesfrom patchset #4972 of 2 reviewers saw the final version

Extracts the visibility-map memory-ordering comment relocation from #497, retaining a short cross-reference in nodeIndexonlyscan.c; #498 confirms it was one of three pieces split out.

  • Andres Freundsaw the final versiontrailerAndres requested the relocation in #460 and approved its new location in #475.
  • Tomas Vondrasaw the final versiontrailerTomas specifically examined the relocated visibilitymap_get_status explanation in #493.

Mar - Apr 2026

19 commits
aio: io_uring: Trigger async processing for large IOs
5 Apr 2026Andres Freundmaster19beta1REL_19_STABLE19beta1Also in: AIO / read stream heuristics adjustments for index prefetching (not this thread)
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #4790 of 2 reviewers saw the final version

Selects the large-I/O async-processing member of #479, retaining method_io_uring.c thresholds and logic while clarifying the direct-I/O comment and adding a benchmark reference. Attribution differs from thread #139184 under the latest-matching-submission rule because this thread's April 4 attachment follows that thread's April 3 source.

  • Melanie Plagemanno review foundtrailerNo review of this later io_uring heuristic appears here; #474 directs its discussion to thread #139184.
  • Nazir Bilal Yavuzno review foundtrailerNo review of this later io_uring heuristic appears here; #474 directs its discussion to thread #139184.
read stream: Split decision about look ahead for AIO and combining
5 Apr 2026Andres Freundmaster19beta1REL_19_STABLE19beta1Also in: AIO / read stream heuristics adjustments for index prefetching (not this thread)
LLM analysis, 97% surepart of a posted patchsetmoderate changesfrom patchset #4790 of 2 reviewers saw the final version

Selects the distance-splitting member of #479, reorganizing look-ahead helpers and growth logic, bounding initial combine_distance, and clearing it at fast-path end-of-stream. Attribution differs from thread #139184 under the latest-matching-submission rule because this April 4 attachment follows that thread's April 3 source, although the other thread carries a closer intermediate revision.

  • Melanie Plagemanno review foundtrailerNo review of these later read-stream heuristics appears here; #474 directs their discussion to thread #139184.
  • Nazir Bilal Yavuzno review foundtrailerNo review of these later read-stream heuristics appears here; #474 directs their discussion to thread #139184.
read_stream: Only increase read-ahead distance when waiting for IO
5 Apr 2026Andres Freundmaster19beta1REL_19_STABLE19beta1Also in: AIO / read stream heuristics adjustments for index prefetching (not this thread)
LLM analysis, 97% surepart of a posted patchsetmoderate changesfrom patchset #4790 of 2 reviewers saw the final version

Selects the wait-sensitive growth work carried in #479, reorganizing it with the distance-splitting member so readahead_distance grows on waits while combine_distance grows independently. Attribution differs from thread #139184 under the latest-matching-submission rule: this thread reposted the matching work April 4 at 04:16 UTC, after that thread's April 3 source at 20:36 UTC.

  • Melanie Plagemanno review foundtrailerNo review of these later read-stream heuristics appears here; #474 directs their discussion to thread #139184.
  • Nazir Bilal Yavuzno review foundtrailerNo review of these later read-stream heuristics appears here; #474 directs their discussion to thread #139184.
heapam: Keep buffer pins across index scan resets.
4 Apr 2026Peter Geogheganmaster19beta1REL_19_STABLE19beta1
LLM analysis, 98% surepart of a posted patchsetlight changesfrom patchset #4791 of 1 reviewer saw the final version

Selects pin retention across index resets from #479, adapting the scan-state access to land before the slot-interface patch; the buffer-lifetime behavior is retained.

  • Andres Freundsaw the final versiontrailerAndres reviewed reset and pin lifetime in #475 and endorsed pushing the prerequisites in #480.
heapam: Track heap block in IndexFetchHeapData.
4 Apr 2026Peter Geogheganmaster19beta1REL_19_STABLE19beta1
LLM analysis, 97% surepart of a posted patchsetlight changesfrom patchset #4791 of 1 reviewer saw the final version

Extracts xs_blk tracking from #479, retaining the explicit ReleaseBuffer/ReadBuffer switch while omitting hunks that depend on the still-pending slot-interface planning-limit code.

  • Andres Freundsaw the final versiontrailerAndres reviewed explicit heap-block tracking in #475 and #480; #483 confirms it was pushed.
Move heapam_handler.c index scan code to new file.
4 Apr 2026Peter Geogheganmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #4791 of 1 reviewer saw the final version

Selects the mechanical heapam_indexscan.c extraction from #479; normalized changed lines match, including moving heap_hot_search_buffer and updating both build systems.

  • Andres Freundsaw the final versiontrailerAndres reviewed the mechanical move and its separation from argument renaming in #475, then approved pushing in #480.
Rename heapam_index_fetch_tuple argument for clarity.
4 Apr 2026Peter Geogheganmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #4791 of 1 reviewer saw the final version

Selects the argument-renaming prerequisite from #479; its normalized diff matches the commit exactly.

  • Andres Freundsaw the final versiontrailerAndres requested a separate renaming prerequisite in #475 and reviewed the resulting submission in #480.
read_stream: Prevent distance from decaying too quickly
1 Apr 2026Andres Freundmaster19beta1REL_19_STABLE19beta1Also in: AIO / read stream heuristics adjustments for index prefetching (landed as posted)
read_stream: Issue IO synchronously while in fast path
1 Apr 2026Andres Freundmaster19beta1REL_19_STABLE19beta1Also in: AIO / read stream heuristics adjustments for index prefetching (landed as posted)
bufmgr: Return whether WaitReadBuffers() needed to wait
1 Apr 2026Andres Freundmaster19beta1REL_19_STABLE19beta1Also in: EXPLAIN: showing ReadStream / prefetch stats (not this thread)Also in: AIO / read stream heuristics adjustments for index prefetching (not this thread)
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #4740 of 2 reviewers saw the final version

Selects the WaitReadBuffers wait-status member of #474, with identical changed lines in bufmgr.c and bufmgr.h. Under the latest-matching-submission rule, this supersedes the source attributions in thread #139184 and thread #53509: this attachment was posted March 31 at 17:39 UTC, after their respective sources at 16:02 and 13:16 UTC.

  • Melanie Plagemanno review foundtrailerNo review of this prerequisite appears here; #474 directs its discussion to thread #139184.
  • Nazir Bilal Yavuzno review foundtrailerNo review of this prerequisite appears here; #474 directs its discussion to thread #139184.
aio: io_uring: Allow IO methods to check if IO completed in the background
1 Apr 2026Andres Freundmaster19beta1REL_19_STABLE19beta1Also in: AIO / read stream heuristics adjustments for index prefetching (not this thread)
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #4740 of 2 reviewers saw the final version

Selects the background-completion callback member of #474, additionally deleting an obsolete five-line comment from src/backend/storage/aio/aio.c. This disagrees with attribution to thread #139184 under the latest-matching-submission rule because this thread's March 31 attachment at 17:39 UTC follows that thread's source at 16:02 UTC.

  • Melanie Plagemanno review foundtrailerNo review of this prerequisite appears here; #474 directs its discussion to thread #139184.
  • Nazir Bilal Yavuzno review foundtrailerNo review of this prerequisite appears here; #474 directs its discussion to thread #139184.
Add fake LSN support to hash index AM.
22 Mar 2026Peter Geogheganmaster19beta1REL_19_STABLE19beta1
LLM analysis, 98% surepart of a posted patchsetmoderate changesfrom patchset #4591 of 1 reviewer saw the final version

Selects hash fake-LSN support from #459; hashovfl.c additionally consolidates mod_wbuf calculation and avoids separate logged/unlogged bookkeeping.

  • Andres Freundsaw the final versiontrailerAndres reviewed hash fake-LSN placement in #433 and the later series in #460 and #461.
Make IndexScanInstrumentation a pointer in executor scan nodes.
22 Mar 2026Peter Geogheganmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #4591 of 1 reviewer saw the final version

Selects the IndexScanInstrumentation-pointer member of #459; all normalized changed lines match the commit.

  • Andres Freundsaw the final versiontrailerAndres explicitly accepted the instrumentation prerequisite in #460, before its landing announced in #464.
Use fake LSNs to improve nbtree dropPin behavior.
14 Mar 2026Peter Geogheganmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #4562 of 2 reviewers saw the final version

Selects nbtree fake-LSN/dropPin support from #456; the implementation matches apart from whitespace around PageSetLSN calls.

  • Andres Freundsaw the final versiontrailerAndres reviewed fake-LSN correctness, dropPin races and atomic-LSN overhead in #431; subsequent edits to this member were light.
  • Tomas Vondrasaw the final versiontrailerTomas benchmarked the complete series across cache, storage and concurrency settings in #438; this member changed only lightly afterward.
Move fake LSN infrastructure out of GiST.
13 Mar 2026Peter Geogheganmaster19beta1REL_19_STABLE19beta1
LLM analysis, 98% surepart of a posted patchsetlight changesfrom patchset #4562 of 2 reviewers saw the final version

Selects shared fake-LSN infrastructure from #456, shortens comments, bumps XLOG_PAGE_MAGIC and rebases onto GetXLogInsertEndRecPtr.

  • Andres Freundsaw the final versiontrailerAndres reviewed the RelationNeedsWAL contract and fake-LSN extraction in #431, with only light changes afterward.
  • Tomas Vondrasaw the final versiontrailerTomas tested the series across I/O methods, cache sizes and concurrency in #438; subsequent changes to the extraction were light.
Use simplehash for backend-private buffer pin refcounts.
12 Mar 2026Peter Geogheganmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #4502 of 2 reviewers saw the final version

Selects the PrivateRefCount simplehash conversion from #450; the commit adds its two generated types to typedefs.list and retains the conversion logic.

  • Tomas Vondrasaw the final versiontrailerTomas reviewed the conversion and include ordering in #453, with fixes acknowledged in #454.
  • Andres Freundsaw the final versiontrailerAndres endorsed the simplehash conversion and encouraged landing it independently in #452.
nbtree: Avoid allocating _bt_search stack.
12 Mar 2026Peter Geogheganmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #4501 of 1 reviewer saw the final version

Selects the _bt_search stack-allocation optimization from #450, moving the stack assignment inside its existing conditional and polishing a comment.

  • Tomas Vondrasaw the final versiontrailerTomas identified the conditional-assignment cleanup and considered the public API impact in #453, which Peter addressed in #454.
bufmgr: Fix use of wrong variable in GetPrivateRefCountEntrySlow()
11 Mar 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #450

Selects Andres's GetPrivateRefCountEntrySlow cache-hint fix from #450; the one-line replacement matches exactly, and no eligible independent review appears before its commit.

Conditional locking in pgaio_worker_submit_internal
11 Mar 2026Tomas Vondramaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #4500 of 1 reviewer saw the final version

Selects Tomas's conditional worker-submission locking patch carried in #450, with clarified queue-full comments; his authorship is explicit in the patch and commit.

  • Andres Freundno review foundtrailerThe commit credits Andres, but this thread contains no specific review of the conditional worker-submission locking patch.

Credits across 25 commits

Author
Peter Geoghegan14
Andres FreundLLM8
Tomas Vondra2
Bilal Kahraman1
Reviewer
Andres Freund12
Tomas Vondra8
Melanie Plageman7
Nazir Bilal Yavuz7
Peter Geoghegancommitter2
Rui Zhao1
Tested by
Tomas Vondra1
Reported by
Alexandre Felipe1
Rui Zhao1
Committer
Peter Geoghegan16
Andres Freund8
Tomas Vondra1

N LLM means N of the credits come from LLM analysis, not from commit trailers.