Johnny Kristensen wrote:
> Hi!
> Does postgres store execution plan's for user-defined SQL functions as
> the PL/pgSQL interpreter does. And if so - will this only be prepared
> after an initial call to the function? Can't seem to find this
> information in the docs!?
> Thanks,
> Johnny Kristensen
You need Postgresql 7.3 to do this. Check sql function "PREPARE".
Regards,
Tomasz Myrta