Re: [GENERAL] Pl/Python runtime overhead

2013-08-12 Thread Seref Arikan
Thanks for the confirmation Peter, I guess I'll take a good look at the existing implementations. All the best Seref On Fri, Aug 9, 2013 at 10:24 PM, Peter Eisentraut pete...@gmx.net wrote: On 8/7/13 10:43 AM, Seref Arikan wrote: When a pl/python based function is invoked, does it keep a

Re: [GENERAL] Pl/Python runtime overhead

2013-08-09 Thread Peter Eisentraut
On 8/7/13 10:43 AM, Seref Arikan wrote: When a pl/python based function is invoked, does it keep a python runtime running across calls to same function? That is, if I use connection pooling, can I save on the python runtime initialization and loading costs? The Python interpreter is

Re: [GENERAL] Pl/Python runtime overhead

2013-08-08 Thread Seref Arikan
Thanks Sergey, This is going to help for sure. I'll also look at the url. What I've been trying to understand is when python runtime is invoked during the function execution (lifecycle?) . Maybe looking at plpython's source may help get an understanding of that. Regards Seref On Thu, Aug 8,

[GENERAL] Pl/Python runtime overhead

2013-08-07 Thread Seref Arikan
Greetings, Somehow I have failed to find the appropriate keywords for successful results for my question. When a pl/python based function is invoked, does it keep a python runtime running across calls to same function? That is, if I use connection pooling, can I save on the python runtime

Re: [GENERAL] Pl/Python runtime overhead

2013-08-07 Thread Sergey Konoplev
On Wed, Aug 7, 2013 at 7:43 AM, Seref Arikan serefari...@kurumsalteknoloji.com wrote: When a pl/python based function is invoked, does it keep a python runtime running across calls to same function? That is, if I use connection pooling, can I save on the python runtime initialization and