Re: When deleting the plpgsql function, release the CachedPlan of the function - Mailing list pgsql-hackers

From Tom Lane
Subject Re: When deleting the plpgsql function, release the CachedPlan of the function
Date
Msg-id 992608.1755693524@sss.pgh.pa.us
Whole thread Raw
In response to Re: When deleting the plpgsql function, release the CachedPlan of the function  (Vladlen Popolitov <v.popolitov@postgrespro.ru>)
Responses Re: When deleting the plpgsql function, release the CachedPlan of the function
List pgsql-hackers
Vladlen Popolitov <v.popolitov@postgrespro.ru> writes:
>   What do you mean, when speak about function cache?

What I'm thinking about is the function parse-tree, which not
incidentally contains a bunch of links to cached plans (via SPI).
Looking at plpgsql_free_function_memory might clarify things
for you.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Proposal: Conflict log history table for Logical Replication
Next
From: Nazir Bilal Yavuz
Date:
Subject: Re: meson: Add _static and _shared suffixes to the library names