Sep 2026

6 commits
Correct on-access VM setting heuristic
23 Sep 2026Melanie PlagemanmasterunreleasedREL_19_STABLE19rc1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #1801 of 1 reviewer saw the final version

The heuristic in pruneheap.c matches #180; only test comments and the temporary-buffer test limit change.

  • Andrey Borodinsaw the final versiontrailerTested the fixes in #179; subsequent heuristic edits are limited to tests and comments.
Avoid replay cleanup locks for freeze-only and VM-only records
22 Sep 2026Melanie PlagemanmasterunreleasedREL_19_STABLE19rc1REL_18_STABLE18.7REL_17_STABLE17.12Also in: Reduce cleanup lock contention on standby replay (not this thread)Also in: Combine Prune and Freeze records emitted by vacuum (not this thread)
LLM analysis, 99% surelanded as postedfrom patchset #1801 of 1 reviewer saw the final version

The src/backend/access/heap/pruneheap.c change from true to do_prune exactly matches #180, posted on September 21, 2026, later than the July 10 source #1147580 claimed by thread #253050. Under the latest-matching-patchset rule, this supersedes that thread’s partial attribution and the from_discussion attribution in thread #49091, which has no matching attached fix.

  • Andrey Borodinsaw the final versiontrailerTested standby replay and proposed the exact do_prune correction in #179, which Melanie accepted in #180.
Assert correct VM page passed to pruning
22 Sep 2026Melanie PlagemanmasterunreleasedREL_19_STABLE19rc1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #1801 of 1 reviewer saw the final version

The visibilitymap_pin_ok assertion matches #180, with only explanatory comment edits.

  • Andrey Borodinsaw the final versiontrailerReviewed the assertion in #179; subsequent changes only clarify its comment.
Update FSM in COPY FREEZE replay
14 Sep 2026Melanie PlagemanmasterunreleasedREL_19_STABLE19beta4
LLM analysis, 99% surelanded as postedfrom patchset #172

The heap_xlog_multi_insert FSM-update changes exactly match #172.

Avoid setting pd_prune_xid when inserting frozen tuples
14 Sep 2026Melanie PlagemanmasterunreleasedREL_19_STABLE19beta4
LLM analysis, 99% surelanded as postedfrom patchset #1731 of 1 reviewer saw the final version

Matches #173 exactly; #176 explicitly declines the optional variable-scope cleanup in #175.

  • Chao Lisaw the final versiontrailerApproved the frozen-insert fix in #175, while offering optional cleanup that was not committed.
Make on-access pruning pin visibility map before locking heap page
12 Sep 2026Melanie PlagemanmasterunreleasedREL_19_STABLE19beta4
LLM analysis, 99% surelanded as postedfrom patchset #1691 of 1 reviewer saw the final version

The visibilitymap_pin move before ConditionalLockBufferForCleanup exactly matches #169.

  • Chao Lisaw the final versiontrailerChecked the pinning contract and approved the lock-order fix in #171.

Apr 2026

4 commits
Stabilize btree_gist test against on-access VM setting
21 Apr 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

The temporary enumtmp table implements the diagnosis and proposed fix in #158, #159, and #161, without an attached patch.

  • Alexander Lakhinsaw the final versionLLM analysis, 99% sureReproduced the btree_gist plan instability and confirmed the visibility-map mechanism in #158 and #161.
  • Andres Freundsaw the final versionLLM analysis, 99% sureProposed the temporary-table fix after diagnosing relallvisible changes in #159.
Stabilize plancache test against on-access VM setting
21 Apr 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The plancache autovacuum and ANALYZE sequencing changes implement #164 and #165, with no matching attachment.

  • Alexander Lakhinsaw the final versionLLM analysis, 99% sureReproduced the plancache plan instability and isolated the ANALYZE interaction in #164.
Make local buffers pin limit more conservative
21 Apr 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.6Also in: BUG: ReadStream look-ahead exhausts local buffers when effective_io_concurrency>=64 (written from the discussion, no matching patch)
LLM analysis, 99% suremodified before commitlight changesfrom patchset #1621 of 2 reviewers saw the final version

The num_temp_buffers/4 cap and additional-pin calculation match #162; only the headroom comment changes.

  • Andres Freundsaw the final versiontrailerProposed the adopted quarter-buffer cap in #151 and explained its headroom in #160, before the attachment was posted.
  • Xuneng Zhouno review foundtrailerNo review of this local-buffer pin-limit fix appears in the thread.
Update FSM during prune/freeze replay even if freespace is zero
16 Apr 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #1550 of 2 reviewers saw the final version

The do_update_fsm flag and unconditional zero-free-space recording exactly match #155.

  • Alexey Makhmutovsaw an earlier versionLLM analysis, 94% sureIdentified the landed phase-III replay omission and explained its promotion consequences in #152 and #154.
  • Andres Freundsaw an earlier versionLLM analysis, 91% sureAnalyzed the landed FSM heuristic and unnecessary positive-free-space guard in #153.

Feb - Mar 2026

21 commits
Set pd_prune_xid on insert
30 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #1441 of 2 reviewers saw the final version

The INSERT and UPDATE prune-hint changes and tests exactly match #144.

  • Andres Freundsaw the final versiontrailerReviewed insert pruning in #113 and the updated implementation in #127, after which changes were light.
  • Chao Lisaw an earlier versiontrailerReviewed prune-hint handling in #85 and #120, before UPDATE new-page hints were added.
Allow on-access pruning to set pages all-visible
30 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #1440 of 3 reviewers saw the final version

Derived from #144, with additional attempt_set_vm guards on visibility-state initialization and an assertion in pruneheap.c.

  • Andres Freundsaw an earlier versiontrailerReviewed the on-access implementation in #113 and #127, before later scan-state and VM-flag logic revisions.
  • Kirill Reshkesaw an earlier versiontrailerReviewed on-access scan-flag layering in #47, before subsequent pruning and API redesigns.
  • Chao Lisaw an earlier versiontrailerReviewed the on-access and read-only hint patches in #120, before the final VM-state guards.
Pass down information on table modification to scan nodes
30 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #1440 of 4 reviewers saw the final version

Matches #144 except for one ScanRelIsReadOnly comment sentence.

  • Andres Freundsaw an earlier versiontrailerReviewed executor and scan-node propagation in #112 and #127, before planner bitmap restructuring.
  • Andrey Borodinsaw an earlier versiontrailerFound omitted ordered and index-only scan paths in #92 and reviewed scope in #96, before later helper changes.
  • Tomas Vondrasaw an earlier versiontrailerReviewed scan-node callsites in #135 and #138, before the read-only helper switched to two bitmapsets.
  • Chao Lisaw an earlier versiontrailerReviewed scan propagation in #95 and #120, before planner-side bitmap and helper changes.
Thread flags through begin-scan APIs
30 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #1442 of 4 reviewers saw the final version

The begin-scan flags API changes exactly match #144.

  • Andres Freundsaw an earlier versiontrailerReviewed flags placement and generic fetch-descriptor storage in #127, before those API changes were implemented.
  • Tomas Vondrasaw the final versiontrailerReviewed parameter ordering and internal flags in #135, #138, and #140; only light cleanup followed.
  • David Rowleysaw the final versiontrailerReviewed the API and proposed SO_NONE in #141, incorporated as a readability change.
  • Chao Lisaw an earlier versiontrailerReviewed the initial flags API in #120, before generic descriptor and internal-flags changes.
Remove PlannedStmt->resultRelations in favor of resultRelationRelids
30 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #1441 of 1 reviewer saw the final version

Removal of PlannedStmt.resultRelations and its serialization exactly matches #144.

  • David Rowleysaw the final versionLLM analysis, 97% sureProposed replacing the obsolete resultRelations list with bitmap membership in #141, which the patch implements.
Make it cheap to check if a relation is modified by a query
30 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #1441 of 3 reviewers saw the final version

Uses the two PlannedStmt bitmapsets from #144, simplifying temporary-variable initialization and comments.

  • Andres Freundsaw an earlier versiontrailerReviewed planner placement and RT-index semantics in #112, #127, and #133, before the two-bitmap redesign.
  • David Rowleysaw the final versiontrailerProposed separate bitmapsets in #141 and reviewed the final version in #145, after it had been committed.
  • Chao Lisaw an earlier versiontrailerIdentified bitmap ownership and modification-tracking issues in #120, before planner restructuring.
Remove XLOG_HEAP2_VISIBLE entirely
24 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #1312 of 3 reviewers saw the final version

Matches the old-record removal in #131, with a WAL magic bump and a small masking-comment edit.

  • Andrey Borodinsaw an earlier versiontrailerCaught the omitted xl_heap_visible struct removal, acknowledged in #4, before the series was substantially reorganized.
  • Andres Freundsaw the final versiontrailerReviewed removal and masking invariants in #59, #112, and #127; final edits were light.
  • Chao Lisaw the final versiontrailerReviewed the remaining WAL-removal patches in #119, with only light changes to this removal afterward.
WAL log VM setting during vacuum phase I in XLOG_HEAP2_PRUNE_VACUUM_SCAN
24 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #1311 of 3 reviewers saw the final version

The phase-I combined WAL implementation matches #131 except for one helper comment.

  • Andres Freundsaw the final versiontrailerReviewed the combined WAL path and counters in #97, #112, and #127; remaining edits to this patch were light.
  • Kirill Reshkesaw an earlier versiontrailerReviewed earlier phase-I and VM refactoring in #11, #75, and #94, before the pruning redesign.
  • Chao Lisaw an earlier versiontrailerReviewed VM integration and counters in #85 and #119, before later corruption and horizon restructuring.
Keep newest live XID up-to-date even if page not all-visible
24 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #1312 of 2 reviewers saw the final version

Continuous newest-live-XID tracking exactly matches #131.

  • Andres Freundsaw the final versiontrailerRequested unconditional horizon maintenance in #112 and reviewed the revised code in #127.
  • Chao Lisaw the final versiontrailerReviewed the new live-XID bookkeeping in #119; subsequent changes were comments and API adaptation.
Use GlobalVisState in vacuum to determine page level visibility
24 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #1310 of 3 reviewers saw the final version

The GlobalVisState visibility conversion matches #131, apart from typographic quotation marks in a comment.

  • Andres Freundsaw an earlier versiontrailerReviewed GlobalVisState visibility checks in #127, before allow_update was threaded through the APIs to stabilize assertions.
  • Chao Lisaw an earlier versiontrailerReviewed GlobalVisState visibility checks in #118, before allow_update was threaded through the APIs.
  • Kirill Reshkesaw an earlier versiontrailerReviewed GlobalVisState visibility checks in #125, before the assertion-stability API changes.
Add pruning fast path for all-visible and all-frozen pages
22 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #1290 of 3 reviewers saw the final version

Based on #129, but removes the stored fast_path field and evaluates eligibility at the callsite while renaming the helper.

  • Andres Freundsaw an earlier versiontrailerReviewed the pruning fast path in #127, before subsequent eligibility and helper restructuring.
  • Chao Lisaw an earlier versiontrailerReviewed fast-path results in #118, before subsequent eligibility and helper restructuring.
  • Kirill Reshkesaw an earlier versiontrailerIdentified the DISABLE_PAGE_SKIPPING issue in #125, before the final eligibility implementation.
Detect and fix visibility map corruption in more cases
22 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #1290 of 3 reviewers saw the final version

The VMCorruptionType repair implementation in #129 lands with local variable renames and comment/formatting edits.

  • Andres Freundsaw an earlier versiontrailerReviewed corruption detection in #127, before the VMCorruptionType helper redesign.
  • Chao Lisaw an earlier versiontrailerReviewed corruption diagnostics in #118, before the VMCorruptionType helper redesign.
  • Kirill Reshkesaw an earlier versiontrailerReviewed corruption detection in #125, before the VMCorruptionType helper redesign.
Save vmbuffer in heap-specific scan descriptors for on-access pruning
15 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #1221 of 1 reviewer saw the final version

The heap scan descriptor VM-buffer cache exactly matches #122.

  • Chao Lisaw the final versiontrailerReviewed VM-buffer ownership and requested documentation changes in #118.
Avoid BufferGetPage() calls in heap_update()
15 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #122

The heap_update page caching and replay old/new-page naming exactly match #122; later praise postdates the commit.

Initialize missing fields in CreateExecutorState()
15 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #1221 of 1 reviewer saw the final version

The missing CreateExecutorState field initialization exactly matches #122.

  • Chao Lisaw the final versiontrailerApproved the executor initialization patch in #119.
Prefix PruneState->all_{visible,frozen} with set_
5 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #1141 of 1 reviewer saw the final version

Extends the set_ renaming in #114 to PruneFreezeResult and its callers, as Chao requested.

  • Chao Lisaw the final versiontrailerRequested matching PruneFreezeResult renaming in #116, incorporated in the commit.
Add PageGetPruneXid() helper
5 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #1141 of 1 reviewer saw the final version

The PageGetPruneXid accessor and substitutions exactly match #114.

  • Chao Lisaw the final versiontrailerApproved the accessor patch in #116.
Move commonly used context into PruneState and simplify helpers
5 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #1141 of 1 reviewer saw the final version

The PruneState context and helper-argument simplification exactly match #114.

  • Chao Lisaw the final versiontrailerReviewed cached page/block context and helper simplification in #116.
Remove table_scan_analyze_next_tuple unneeded parameter OldestXmin
26 Feb 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #993 of 3 reviewers saw the final version

The ANALYZE callback and caller OldestXmin removal exactly match #99.

  • Kirill Reshkesaw the final versiontrailerProposed and reviewed ANALYZE API removal in #84, #90, and #94.
  • Andres Freundsaw the final versiontrailerReviewed the ANALYZE simplification in #112.
  • Chao Lisaw the final versiontrailerReviewed the simplifications and questioned dead_after assertions in #85 and #95.
Simplify visibility check in heap_page_would_be_all_visible()
26 Feb 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #993 of 3 reviewers saw the final version

The HeapTupleSatisfiesVacuumHorizon substitution exactly matches #99.

  • Kirill Reshkesaw the final versiontrailerApproved the visibility simplification in #84 and #94.
  • Andres Freundsaw the final versiontrailerReviewed the simplified visibility check in #112.
  • Chao Lisaw the final versiontrailerReviewed the simplification and questioned dead_after assertions in #85 and #95.
Rename LVRelState VM-related logging counters
26 Feb 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The vacuumlazy.c counter renaming implements Andres’s request in #97 and agreement in #112; no attachment contains this dedicated rename.

  • Andres Freundsaw the final versionLLM analysis, 99% sureRequested explicit all-visible/all-frozen counter names in #97 and accepted the naming proposal in #112.

Jan - Feb 2026

4 commits
Fix flakiness in the pg_visibility VM-only vacuum test by using a temporary table.
2 Feb 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #1101 of 1 reviewer saw the final version

Exactly matches Kirill’s temporary-table fix in #110, replacing the earlier TAP proposal.

  • Melanie Plagemansaw the final versiontrailerRelayed the temporary-table solution in #109 and committed the final patch in #111.
Refactor lazy_scan_prune() VM clear logic into helper
26 Jan 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #931 of 4 reviewers saw the final version

Uses the latest helper extraction in #93, changing its boolean return/value argument into a void function updating VM bits by pointer.

  • Andres Freundsaw the final versiontrailerRequested the exact pointer-based VM-bit update adopted by the committer in #97.
  • Kirill Reshkesaw an earlier versiontrailerReviewed the helper extraction in #75 and #94, before the return/parameter interface changed.
  • Chao Lisaw an earlier versiontrailerReviewed the helper contract in #85, before the pointer-based interface was adopted.
  • Andrey Borodinsaw an earlier versiontrailerApproved the preliminary helper refactor in #96, before its final API change.
Eliminate use of cached VM value in lazy_scan_prune()
26 Jan 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #934 of 5 reviewers saw the final version

Matches #93 with one redundant assertion removed and the corruption-repair comment clarified.

  • Andres Freundsaw the final versiontrailerReviewed the final cached-state removal in #97.
  • Kirill Reshkesaw the final versiontrailerReviewed the refactor and declared it ready in #75 and #94.
  • Chao Lisaw the final versiontrailerRequested the void return-type cleanup in #85 and followed up on the revised series in #88.
  • Andrey Borodinsaw the final versiontrailerApproved removing cached VM state in #96.
  • Xuneng Zhousaw an earlier versiontrailerFound stale VM bits after corruption repair in #82, before that logic and API were revised.
Combine visibilitymap_set() cases in lazy_scan_prune()
26 Jan 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1Also in: Adding vacuum test case of setting the VM when heap page is unmodified (not this thread)
LLM analysis, 99% suremodified before commitlight changesfrom patchset #935 of 6 reviewers saw the final version

The vacuumlazy.c refactor and complete pg_visibility regression test match #93, with only the Makefile EXTRA_INSTALL dependency added after #97. Although the test originated in thread #52870, its source #608740 predates this complete matching patchset, so I disagree with that thread’s attribution of the final commit to its earlier test patch.

  • Andres Freundsaw the final versiontrailerApproved the refactor and identified its missing pageinspect dependency in #97.
  • Chao Lisaw the final versiontrailerReviewed VM-setting refactoring and requested explicit VM test checks in #63 and #66.
  • Srinath Reddy Sadipirallano review foundtrailerNo review activity by this credited reviewer appears in the thread.
  • Kirill Reshkesaw the final versiontrailerRequested a page-header test assertion and approved the refactor in #73 and #94.
  • Xuneng Zhousaw the final versiontrailerReviewed the VM-setting branches and dirty-buffer explanation in #82; this patch subsequently received light edits.
  • Andrey Borodinsaw the final versiontrailerApproved combining the VM-setting cases in #96.

Dec 2025

3 commits
Fix const qualification in prune_freeze_setup()
16 Dec 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #671 of 1 reviewer saw the final version

Peter’s const-removal patch in #67 lands with an added input-only parameter comment.

  • Melanie Plagemansaw the final versiontrailerDiscussed and committed Peter’s fix in #68 and #71, reviewing the final version as committer.
Add comment about keeping PD_ALL_VISIBLE and VM in sync
10 Dec 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #641 of 1 reviewer saw the final version

The heap/VM integrity comment exactly matches #64.

  • Chao Lisaw the final versionLLM analysis, 96% sureReviewed the same integrity comment in the earlier series and caught duplicated wording in #57.
Simplify vacuum visibility assertion
10 Dec 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #642 of 2 reviewers saw the final version

The vacuum visibility assertion rewrite exactly matches #64.

  • Andres Freundsaw the final versionLLM analysis, 99% sureProposed replacing Assert(false) with a direct condition while reviewing #52 in #59.
  • Chao Lisaw the final versionLLM analysis, 90% sureExplicitly reviewed the first four patches, including this assertion cleanup, in #63.

Nov 2025

6 commits
Split heap_page_prune_and_freeze() into helpers
26 Nov 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #522 of 2 reviewers saw the final version

The setup/planning helper extraction from #52 lands with grammar and comment corrections.

  • Andres Freundsaw the final versiontrailerCalled the helper split a considerable improvement and checked the moved code in #59.
  • Chao Lisaw the final versiontrailerApproved the pure helper-extraction refactoring in #57, with only light comments and rebasing following.
Assert that cutoffs are provided if freezing will be attempted
25 Nov 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Implements Chao’s inline cutoffs assertion and typo correction in #56, accepted in #60, without an attached patch.

  • Melanie Plagemansaw the final versiontrailerAccepted and committed Chao’s inline assertion and typo fix in #60; the committer reviewed the final change.
Split PruneFreezeParams initializers to one field per line
20 Nov 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Implements Dagfinn’s initializer-formatting request in #53, acknowledged in #55, without an attached patch.

  • Dagfinn Ilmari Mannsåkersaw the final versionLLM analysis, 99% sureReported unreadable designated-initializer formatting and proposed one field per line in #53, accepted in #55.
Update PruneState.all_[visible|frozen] earlier in pruning
20 Nov 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #511 of 1 reviewer saw the final version

The earlier visibility-state update in #51 lands with only explanatory comment edits.

  • Kirill Reshkesaw the final versiontrailerApproved earlier visibility-state updates and proposed moving the freeze conflict horizon into PruneState in #47 and #50.
Keep all_frozen updated in heap_page_prune_and_freeze
20 Nov 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #511 of 1 reviewer saw the final version

The independent all_frozen tracking exactly matches #51.

  • Kirill Reshkesaw the final versiontrailerRechecked visibility-state maintenance and approved the all-frozen tracking change in #47 and #50.
Refactor heap_page_prune_and_freeze() parameters into a struct
20 Nov 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #511 of 1 reviewer saw the final version

The PruneFreezeParams refactor in #51 differs only in designated-initializer field order.

  • Kirill Reshkesaw the final versiontrailerReviewed the first three refactorings in #47, before comment and initializer cleanup.

Oct 2025

6 commits
Make heap_page_is_all_visible independent of LVRelState
14 Oct 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #413 of 3 reviewers saw the final version

The LVRelState-independent helper matches #41 modulo blank-line placement.

  • Kirill Reshkesaw the final versiontrailerCalled the visibility-helper refactoring straightforward in #11; subsequent changes were API adaptation and comments.
  • Robert Haassaw the final versiontrailerFound the visibility-helper refactoring unobjectionable provided its payoff patch was sound in #33.
  • Andres Freundsaw the final versiontrailerReviewed the preliminary visibility-helper changes and recommended landing ready refactorings in #42.
Inline TransactionIdFollows/Precedes[OrEquals]()
14 Oct 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #412 of 2 reviewers saw the final version

The transaction-ID comparison inlining exactly matches #41.

  • Kirill Reshkesaw the final versiontrailerBenchmarked transaction-ID comparison inlining and approved it in #12 and #20.
  • Andres Freundsaw the final versiontrailerRecommended committing the inlining ahead of the complex remaining changes in #42.
Add helper for freeze determination to heap_page_prune_and_freeze
14 Oct 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 98% suremodified before commitlight changesfrom patchset #411 of 1 reviewer saw the final version

Extracts the freeze-decision helper from #41, folding in prerequisite variable renames and adjusting comments for independent landing.

  • Andres Freundsaw the final versiontrailerApproved extracting the freeze-decision helper and requested clearer comments in #42.
Bump XLOG_PAGE_MAGIC after xl_heap_prune change
14 Oct 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

Adds the missing XLOG_PAGE_MAGIC increment reported in #43 and #44; there is no attached patch.

  • Kirill Reshkesaw the final versionLLM analysis, 99% sureReported the missing WAL format-number bump in #43.
  • Michael Paquiersaw the final versionLLM analysis, 99% sureConfirmed which preceding change altered the WAL format and required a version bump in #44.
Eliminate XLOG_HEAP2_VISIBLE from vacuum phase III
13 Oct 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #411 of 3 reviewers saw the final version

Uses phase-III integration from #41, revising VM debug arguments, replay LSN handling, and critical-section assertions.

  • Andres Freundsaw the final versiontrailerReviewed dead-offset visibility checks and revised phase-III replay, including LSN and lock-order details, in #19 and #42.
  • Robert Haassaw an earlier versiontrailerObjected to mixed flag namespaces and discussed WAL hint semantics in #33, #35, and #39.
  • Kirill Reshkesaw an earlier versiontrailerReviewed phase-III flags, conflict horizons, and visibility assertions in #11, before representation and replay changed.
Eliminate COPY FREEZE use of XLOG_HEAP2_VISIBLE
9 Oct 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #411 of 3 reviewers saw the final version

Uses COPY FREEZE integration from #41, replacing allocated relation-name strings with RelFileLocator and refining locking assertions.

  • Andres Freundsaw the final versiontrailerReviewed COPY FREEZE replay and requested the cheaper relation identifier interface in #19, #37, and #42.
  • Robert Haassaw an earlier versiontrailerRequired VM locking before critical sections and clearer replay invariants in #29, #31, #33, #35, and #39, before further API changes.
  • Kirill Reshkesaw an earlier versiontrailerTested COPY FREEZE and identified redundant pinning and missing assertions in #10, before later locking and API revisions.

Sep 2025

1 commit
Correct prune WAL record opcode name in comment
24 Sep 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #361 of 1 reviewer saw the final version

The prune WAL opcode comment correction exactly matches #36.

  • Andres Freundsaw the final versiontrailerSaid the standalone opcode-comment correction should be applied in #37.

Sep 2025

4 commits
Add error codes when vacuum discovers VM corruption
8 Sep 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #231 of 1 reviewer saw the final version

The ERRCODE_DATA_CORRUPTED additions match #23 modulo line wrapping.

  • Robert Haassaw the final versiontrailerApproved the error-code change and refined formatting, commit wording, and translation handling in #26 and #28.
Remove unused xl_heap_prune member, reason
8 Sep 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #231 of 1 reviewer saw the final version

Removal of xl_heap_prune.reason exactly matches #23.

  • Robert Haassaw the final versiontrailerApproved removing the unused field on master while arguing against backpatching the exposed struct change in #24.
Remove unneeded VM pin from VM replay
8 Sep 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #212 of 2 reviewers saw the final version

The redundant VM pin and caller-assertion removal exactly match #21.

  • Kirill Reshkesaw the final versiontrailerVerified redundant pinning with a COPY FREEZE test, traced its history, and approved removal in #10, #16, and #20.
  • Andres Freundsaw the final versiontrailerApproved pin removal in #19, before the light removal of redundant caller assertions.
Add assert and log message to visibilitymap_set
5 Sep 2025Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #182 of 2 reviewers saw the final version

The lock assertion and VM-flags debug logging exactly match #18.

  • Kirill Reshkesaw the final versiontrailerProposed the lock assertion and flags logging in #10, then approved the extracted patch in #20.
  • Andres Freundsaw the final versiontrailerApproved the preliminary visibility-map cleanups in #19.

Credits across 55 commits

Author
Melanie Plageman6 LLM52
Chao Li1
Kirill Reshke1
Peter Eisentraut1
Reviewer
Andres Freund26
Chao Li24
Kirill Reshke19
Andrey Borodin8
Robert Haas5
Melanie Plageman3
Xuneng Zhou3
David Rowley2
Tomas Vondra2
Srinath Reddy Sadipiralla1
Reported by
Melanie Plageman6
Alexander Lakhin4
Kirill Reshke2
Alexey Makhmutov1
Andres Freund1
Andrey Borodin1
Dagfinn Ilmari Mannsåker1
Eduard Stepanov1
Feike Steenbergen1
Induja Sreekanthan1
Michael Paquier1
SATYANARAYANA NARLAPURAM1
Committer
Melanie Plageman55

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