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) Needs rebase! Needs rebase since 20 hours. Failing since 20 hours.
Additional links previous successfully applied patch (outdated):
Summary
Stats (from CFBot) Unknown
Topic Procedural Languages
Tags PL/pgSQL
Created 2025-08-19 09:12:05
Last modified 2025-08-19 09:12:46 (yesterday)
Latest email 2025-08-19 08:39:50 (yesterday)
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 07:45:07 by zengman <zengman at halodbtech.com>
Latest at 2025-08-19 07:45:07 by zengman <zengman at halodbtech.com>
Latest attachment (00002_free_plpgsql_function_memory.patch) at 2025-08-19 07:45:07 from zengman <zengman at halodbtech.com>
    Attachment (00002_free_plpgsql_function_memory.patch) at 2025-08-19 07:45:07 from zengman <zengman at halodbtech.com> (Patch: Yes)
History
When Who What
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