Jan 2024

2 commits
Give SMgrRelation pointers a well-defined lifetime.
31 Jan 2024Heikki Linnakangasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #70 of 1 reviewer saw the final version

The lifetime patch in #7 matches the committed implementation across all twelve files; differences are comment corrections and wording in src/backend/storage/smgr/smgr.c and src/include/storage/smgr.h, plus rebasing. Both the attachment and commit credit Thomas Munro and sender Heikki Linnakangas as authors.

  • Robert Haassaw an earlier versiontrailerRobert requested lifetime documentation in #4 and questioned ownership and close semantics in #6, before the substantial pin-count rework in #7.
Remove some obsolete smgrcloseall() calls.
31 Jan 2024Heikki Linnakangasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #72 of 2 reviewers saw the final version

All 21 deleted lines match the cleanup patch in #7, removing obsolete error-path smgrcloseall() calls from bgwriter.c, checkpointer.c, and walwriter.c, modulo rebasing. Heikki forwarded Thomas's patch, originally submitted in #5, and the commit explicitly credits Thomas.

  • Heikki Linnakangassaw the final versiontrailerHeikki endorsed and resent the cleanup in #7, then committed its unchanged implementation.
  • Robert Haassaw the final versiontrailerRobert discussed the cleanup's correctness and encouraged an early separate landing in #6, after which its implementation remained unchanged.

Dec 2023

1 commit
Don't try to open visibilitymap when analyzing a foreign table
8 Dec 2023Heikki Linnakangasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #7

The foreign-table fix in #7 matches both committed hunks exactly: do_analyze_rel() checks RELKIND_HAS_STORAGE before counting visibility-map pages, and smgropen() asserts a valid relation number. Heikki confirmed its independent landing in #8.

Aug 2023

1 commit
Invalidate smgr_targblock in smgrrelease().
17 Aug 2023Thomas Munromaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16rc1REL_15_STABLE15.5
LLM analysis, 100% suremodified before commitlight changesfrom patchset #11 of 1 reviewer saw the final version

Implements the smgr_targblock invalidation fix from #1, moving the assignment outside the fork loop in src/backend/storage/smgr/smgr.c as Heikki requested in #2. Thomas confirmed the push in #3.

  • Heikki Linnakangassaw the final versiontrailerHeikki endorsed the fix and requested moving the invariant assignment outside the loop in #2, which was the only implementation adjustment before landing.

Credits across 4 commits

Author
Thomas Munro1 LLM3
Heikki Linnakangas1 LLM2
Reviewer
Heikki Linnakangas2
Robert Haas2
Committer
Heikki Linnakangas3
Thomas Munro1

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