When deleting the plpgsql function, release the CachedPlan of the function

Edit
ID 5975
Title When deleting the plpgsql function, release the CachedPlan of the function
CI (CFBot) Summary
Stats (from CFBot) Patch count: 1, First patch: +118−2, All patches: +118−2
Topic Procedural Languages
Tags PL/pgSQL
Created 2025-08-19 09:12:05
Last modified 2025-09-05 09:30:55 (4 weeks ago)
Latest email 2025-09-05 09:20:27 (4 weeks ago)
Status
PG19-2 (2025-09-01 – 2025-09-30): Needs review
Target version 16
Authors Man Zeng (zengman)
Reviewers Become reviewer
Committer
Links
Emails
When deleting the plpgsql function, release the CachedPlan of the function
First at 2025-08-18 06:50:35 by zengman <zengman at halodbtech.com>
Latest at 2025-08-19 08:39:50 by Vladlen Popolitov <v.popolitov at postgrespro.ru>
Latest attachment (00001_free_function_memory.patch) at 2025-08-18 06:50:35 from zengman <zengman at halodbtech.com>
    Attachment (00001_free_function_memory.patch) at 2025-08-18 06:50:35 from zengman <zengman at halodbtech.com> (Patch: Yes)
Re: When deleting the plpgsql function, release the CachedPlan of the function
First at 2025-08-19 09:31:06 by 章晨曦 <zhangchenxi at halodbtech.com>
Latest at 2025-09-05 09:20:27 by zengman <zengman at halodbtech.com>
Latest attachment (002_cleanup_spl_funccache_v2.patch) at 2025-09-05 09:20:27 from zengman <zengman at halodbtech.com>
    Attachment (002_cleanup_spl_funccache_v2.patch) at 2025-09-05 09:20:27 from zengman <zengman at halodbtech.com> (Patch: Yes)
    Attachment (001_cleanup_spl_funccache_v1.patch) at 2025-08-21 07:24:18 from 章晨曦 <zhangchenxi at halodbtech.com> (Patch: Yes)
History
When Who What
2025-09-05 09:30:55 Man Zeng (zengman) Detached mail thread [email protected]
2025-09-04 09:06:41 Man Zeng (zengman) Attached mail thread [email protected]
2025-09-01 17:35:28 CFbot Patch does not need rebase anymore
2025-08-19 14:11:23 CFbot Patch needs rebase
2025-08-19 09:12:46 Man Zeng (zengman) Attached mail thread [email protected]
2025-08-19 09:12:05 Man Zeng (zengman) Attached mail thread [email protected]
2025-08-19 09:12:05 Man Zeng (zengman) Created patch record
Edit