Vladlen Popolitov <v(dot)popolitov(at)postgrespro(dot)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