Re: [GENERAL] plpyhton

2011-01-20 Thread Bruce Momjian
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

Re: [GENERAL] plpyhton

2010-11-29 Thread Joshua Tolley
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

Re: [GENERAL] plpyhton

2010-11-27 Thread c k
aucune responsabilité pour le contenu fourni. Date: Fri, 26 Nov 2010 09:04:42 -0700 From: eggyk...@gmail.com To: shreeseva.learn...@gmail.com CC: pgsql-ad...@postgresql.org; pgsql-general@postgresql.org Subject: Re: [GENERAL] plpyhton On Fri, Nov 26, 2010 at 05:28:52PM +0530, c k

Re: [GENERAL] plpyhton

2010-11-26 Thread c k
Thanks for your reply. But if a database has 100+ connections then isn't loading any such interpreter consumes more memory and requires more CPU? Does all PL languages behave in the same fashion? Regards, CPK On Thu, Nov 25, 2010 at 11:12 AM, Joshua Tolley eggyk...@gmail.com wrote: On Wed, Nov

Re: [GENERAL] plpyhton

2010-11-26 Thread Joshua Tolley
On Fri, Nov 26, 2010 at 05:28:52PM +0530, c k wrote: Thanks for your reply. But if a database has 100+ connections then isn't loading any such interpreter consumes more memory and requires more CPU? Does all PL languages behave in the same fashion? If there are lots of connections, and each

Re: [GENERAL] plpyhton

2010-11-26 Thread Martin Gainty
: Re: [GENERAL] plpyhton On Fri, Nov 26, 2010 at 05:28:52PM +0530, c k wrote: Thanks for your reply. But if a database has 100+ connections then isn't loading any such interpreter consumes more memory and requires more CPU? Does all PL languages behave in the same fashion

Re: [GENERAL] plpyhton

2010-11-24 Thread Joshua Tolley
On Wed, Nov 24, 2010 at 11:56:16AM +0530, c k wrote: Hello, Does calling a pl/python function from each database connection load the python interpreter each time? what are the effects of using pl/python function in a environment where no. of concurrent connections are more and each user calls

[GENERAL] plpyhton

2010-11-23 Thread c k
Hello, Does calling a pl/python function from each database connection load the python interpreter each time? what are the effects of using pl/python function in a environment where no. of concurrent connections are more and each user calls a pl/python function? Please give the details about how

Re: [GENERAL] plpyhton

2010-11-23 Thread c k
Hello, Does calling a pl/python function from each database connection load the python interpreter each time? what are the effects of using pl/python function in a environment where no. of concurrent connections are more and each user calls a pl/python function? Please give the details about how