Roberto Mello <rmello(at)cc(dot)usu(dot)edu> writes:
> On Thu, Feb 13, 2003 at 09:02:05AM -0800, Josh Berkus wrote:
>> Unless you know something I don't, I do not believe that PL/pgSQL stores
>> execution plans for functions.
> AFAIK execution plans for PL/pgSQL functions were cached once per backend.
> No?
Yes. This is explained in the docs ...
http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/plpgsql.html#PLPGSQL-OVERVIEW
regards, tom lane