Re: plpyhton

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Joshua Tolley <eggyknap(at)gmail(dot)com>
Cc: c k <shreeseva(dot)learning(at)gmail(dot)com>, Martin Gainty <mgainty(at)hotmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: plpyhton
Date: 2011-01-21 00:14:57
Message-ID: 201101210014.p0L0EvN27126@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message John DeSoi 2011-01-21 01:08:42 Re: Postgres Backup Utility
Previous Message Bruce Momjian 2011-01-20 23:27:52 Re: binary logs: a location other than pg_xlog??

Browse pgsql-general by date

  From Date Subject
Next Message tuanhoanganh 2011-01-21 04:03:21 Re: PostgreSQL 9.0.1 PITR can not copy WAL file
Previous Message Tom Lane 2011-01-20 23:14:57 Re: Large object corruption during 'piped' pg_restore