Joshua Tolley wrote:
-- Start of PGP signed section.
> On Sat, Nov 27, 2010 at 04:38:27PM +0530, c k wrote:
> > How can we implement procedure cache? Cane you please give details regarding
> > this?
> > It will be helpful for me.
>
> This is something the PL implementation needs to do for you. I finally looked
> at the plpython code, and found that it does indeed do this for you. PLPython
> caches a procedure's input and return types, and a compiled representation of
> the procedure's source.
He should also consider using shared_preload_libraries to reduce the
dynamic load time for plpython.so.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +