Jun 2025

2 commits
Run pgindent on the previous commit.
1 Jun 2025Tom Lanemaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19REL_13_STABLE13.22
LLM analysis, 100% surewritten from the discussion, no matching patch

This commit supplies the reindentation explicitly deferred in #1, adjusting indentation and comment wrapping around the expanded PG_TRY blocks in src/pl/plpython/plpy_elog.c; no attached patch contains that formatting change.

Fix edge-case resource leaks in PL/Python error reporting.
1 Jun 2025Tom Lanemaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19REL_13_STABLE13.22
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #1

The commit preserves the guard correction, expanded PG_TRY coverage, and traceback cleanup transfer from #1 in src/pl/plpython/plpy_elog.c. It additionally retains string-buffer pfree calls, initializes emsg before PG_TRY, and adds volatile output pointers, matching Tom Lane's explanation in #2.

Credits across 2 commits

Author
Tom Lane2
Committer
Tom Lane2