Aug 2024

1 commit
Fix edge case in plpgsql's make_callstmt_target().
7 Aug 2024Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17rc1REL_16_STABLE16.5REL_15_STABLE15.9REL_14_STABLE14.14
LLM analysis, 100% surewritten from the discussion, no matching patch

Song Hongyu's report #1 reproduces a stale procedure OID after an erroneous CALL and procedure recreation; no patch was submitted. 8d148bb8b8 explicitly credits that report and fixes make_callstmt_target() in src/pl/plpgsql/src/pl_exec.c by fetching a validated cached plan with SPI_plan_get_cached_plan() and releasing it afterward.

Credits across 1 commit

Committer
Tom Lane1