Feb 2022

2 commits
Assert in init_toast_snapshot() that some snapshot registered or active.
21 Feb 2022Andres Freundmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surelanded as postedfrom patchset #3

All three file diffs exactly match the second patch in #3, adding HaveRegisteredOrActiveSnapshot() in src/backend/utils/time/snapmgr.c, its declaration, and the assertion in src/backend/access/common/toast_internals.c. Yura Sokolov's review in #5 occurred after this commit and does not qualify for suggested review credit.

Fix temporary object cleanup failing due to toast access without snapshot.
21 Feb 2022Andres Freundmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.3REL_13_STABLE13.7+3 more
LLM analysis, 100% surelanded as postedfrom patchset #3

All four file diffs exactly match the first patch in #3: src/backend/catalog/namespace.c pushes and pops a snapshot around cleanup, and the isolation test files exercise temporary-object removal.

Credits across 2 commits

Author
Andres Freund2
Reported by
Miles Delahunty1
Committer
Andres Freund2