Jun 2026

1 commit
plpython: Use funccache.c infrastructure for procedure caching.
21 Jun 2026Tom Lanemaster19beta2REL_19_STABLE19beta2
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #151 of 1 reviewer saw the final version

The commit retains the funccache implementation and self-invalidating SRF test from #15, but adjusts variable initialization around PG_TRY, releases the validator's reference immediately, restores saved-argument allocation in proc->mcxt, and moves cleanup helpers into src/pl/plpython/plpy_exec.c 9bcb8a694b. Tom Lane confirms his final review edits and adds LIMIT tests for early termination in src/pl/plpython/sql/plpython_setof.sql #16.

  • Tom Lanesaw the final versiontrailerTom redirected the initial fix toward reference counting #4, identified exception-safety and maintainability issues in the first funccache patch #14, and reviewed, edited, and committed the final version #16.

Credits across 1 commit

Author
Matheus Alcantara1
Reviewer
Tom Lane1
Reported by
Andrzej Doros1
Committer
Tom Lane1