Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 7A2712E006B for ; Wed, 5 Dec 2007 11:09:15 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 76126-04 for ; Wed, 5 Dec 2007 11:09:12 -0400 (AST) Received: from mail.fmed.uba.ar (mail.fmed.uba.ar [157.92.152.1]) by postgresql.org (Postfix) with ESMTP id D92DF2E005C for ; Wed, 5 Dec 2007 11:09:12 -0400 (AST) Received: from [157.92.155.58] (mailbis [157.92.155.58]) by mail.fmed.uba.ar (Postfix) with ESMTP id A64D411AB6F; Wed, 5 Dec 2007 12:11:23 -0300 (ART) Message-ID: <4756C18E.2030608@fmed.uba.ar> Date: Wed, 05 Dec 2007 12:19:42 -0300 From: Gerardo Herzig User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane CC: pgsql-sql@postgresql.org Subject: Re: plpythonu and "hello concurrent world" References: <4756A32A.9020101@fmed.uba.ar> <21003.1196865724@sss.pgh.pa.us> In-Reply-To: <21003.1196865724@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/15 X-Sequence-Number: 29707 Tom Lane wrote: >Gerardo Herzig writes: > > >>Hi all. Im having some "problems" with a small concurrent plpython function. >> >> > >Don't even *think* about starting multiple threads inside the Postgres >backend. It's an excellent way to break things. > > regards, tom lane > >---------------------------(end of broadcast)--------------------------- >TIP 6: explain analyze is your friend > > > > Damn!! Well, comming from you Tom, i guess i will just look for another approach without complaining ^^. Thanks! Gerardo