Dec 2022

1 commit
Check the snapshot argument of index_beginscan and family
6 Dec 2022Alexander Korotkovmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surelanded as postedfrom patchset #12 of 2 reviewers saw the final version

All four hunks in 941aa6a626 match #1: Assert(snapshot != InvalidSnapshot) is added to index_beginscan, index_beginscan_bitmap, index_parallelscan_estimate, and index_parallelscan_initialize in src/backend/access/index/indexam.c.

  • Pavel Borisovsaw the final versiontrailerIn #2, Pavel reviewed #1, preferred reporting ERROR to assertions because release builds could still crash, and otherwise considered the patch correct and worth committing.
  • Alexander Korotkovsaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Aleksander Alekseev1
Reviewer
Alexander Korotkovcommitter1
Pavel Borisov1
Reported by
Sven Klemm1
Committer
Alexander Korotkov1