Jun 2020

2 commits
Fix use-after-release mistake in currtid() and currtid2() for views
1 Jun 2020Michael Paquiermaster13beta2REL_19_STABLE13beta2REL_18_STABLE13beta2REL_17_STABLE13beta2REL_16_STABLE13beta2REL_15_STABLE13beta2REL_14_STABLE13beta2REL_13_STABLE13beta2+5 more
LLM analysis, 100% surelanded as postedfrom patchset #161 of 1 reviewer saw the final version

The single src/backend/utils/adt/tid.c hunk matches #16 exactly apart from index hash lengths: it saves the recursive lookup result before closing the view and then returns that result.

  • Tom Lanesaw the final versionLLM analysis, 99% sureAfter #16, Tom identified in #17 that releasing the lock also endangered the underlying table's existence, providing substantive review of the lifetime fix before its unchanged landing.
Fix crashes with currtid() and currtid2()
1 Jun 2020Michael Paquiermaster13beta2REL_19_STABLE13beta2REL_18_STABLE13beta2REL_17_STABLE13beta2REL_16_STABLE13beta2REL_15_STABLE13beta2REL_14_STABLE13beta2REL_13_STABLE13beta2+1 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #141 of 1 reviewer saw the final version

The commit preserves both storage checks and all regression changes from #14; its only substantive patch difference is removal of the two added function-header comment blocks in src/backend/utils/adt/tid.c.

  • Álvaro Herrerasaw the final versiontrailerÁlvaro requested a smaller backpatch in #5 and reviewed the reduced patch in #10, favoring elog errors; only diagnostic and comment changes followed.

Credits across 2 commits

Author
Michael Paquier1 LLM2
Reviewer
Alvaro Herrera1
Reported by
Jaime Casanova1
via sqlsmith1
Committer
Michael Paquier2

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