Dec 2024

1 commit
Remove remants of "snapshot too old"
9 Dec 2024Heikki Linnakangasmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #51 of 3 reviewers saw the final version

The commit preserves the implementation in #5, adding removal of an obsolete GetOldestSnapshot() comment in src/backend/utils/time/snapmgr.c and include cleanup in src/include/utils/snapshot.h with corresponding includes in genam.h and predicate.h. The commit message also corrects a grammatical typo.

  • Nathan Bossartsaw the final versiontrailerNathan questioned removal of the safety checks in #2 and accepted the revised wrapper in #6, suggesting an optional assertion macro alternative.
  • Andres Freundsaw an earlier versiontrailerAndres warned in #3 that removing the snapshot checks would make TOAST lifetime bugs easier to introduce, prompting the subsequent local logic change in #5.
  • Tom Lanesaw an earlier versiontrailerTom explained in #4 that TOAST snapshot safeguards remained necessary independently of the removed feature, before #5 restored the check through a wrapper.

Credits across 1 commit

Author
Heikki LinnakangasLLM1
Reviewer
Andres Freund1
Nathan Bossart1
Tom Lane1
Committer
Heikki Linnakangas1

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