May 2023

1 commit
Move return statements out of PG_TRY blocks.
4 May 2023Nathan Bossartmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3REL_14_STABLE14.8REL_13_STABLE13.11+2 moreAlso in: Nicely exiting PG_TRY and PG_CATCH (not this thread)
LLM analysis, 100% suremodified before commitlight changesfrom patchset #172 of 4 reviewers saw the final version

The commit matches #17 in src/pl/plpython/plpy_exec.c except for removing args's redundant NULL initializer and pltargs's volatile qualifier, regrouping declarations, and editing the commit message; the patch and commit credit Xing Guo, and #19 confirms the final qualifier removal. I disagree with the from_discussion attribution in thread #46742: its October 2022 attachment predates the matching May 2023 patchset #17, which supplies the committed implementation.

  • Michael Paquiersaw an earlier versiontrailerMichael examined related PG_CATCH returns in #3 during review of #1, before the additional allocation move and reference-count cleanup.
  • Andres Freundsaw an earlier versiontrailerAndres reported compiler diagnostics while investigating #1 in #4 and challenged the exception-block return analysis following #8 in #11, before the reference-count cleanup.
  • Tom Lanesaw the final versiontrailerTom clarified exception-stack behavior in #9, identified unnecessary volatile qualifiers in #14, and approved #17 subject to removing the remaining new qualifier in #18.
  • Nathan Bossartsaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Xing Guo1
Reviewer
Andres Freund1
Michael Paquier1
Nathan Bossartcommitter1
Tom Lane1
Reported by
Mikhail Gribkov1
Xing Guo1
Committer
Nathan Bossart1