X-Original-To: pgsql-general-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 9CFEE9FB35B for ; Wed, 6 Sep 2006 18:29:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 83066-01-3 for ; Wed, 6 Sep 2006 18:29:26 -0300 (ADT) X-Greylist: whitelisted by SQLgrey- Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by postgresql.org (Postfix) with ESMTP id 21BA49FB3D9 for ; Wed, 6 Sep 2006 18:29:19 -0300 (ADT) Received: from [192.168.1.156] (bdn33-3-82-245-81-137.fbx.proxad.net [82.245.81.137]) by smtp4-g19.free.fr (Postfix) with ESMTP id A1F204F389 for ; Wed, 6 Sep 2006 23:29:17 +0200 (CEST) Message-ID: <44FF3DAE.5050406@praud.com> Date: Wed, 06 Sep 2006 23:29:18 +0200 From: Jean-Christophe Praud Organization: Robert & Camborde User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: Asynchronous trigger Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200609/222 X-Sequence-Number: 100476 Hi all, I'm planning to convert an application to postgresql 8.1 (from mysql). Currently we have some recursive procedures done on the application side we would want to rewrite as stored pl/pgsql procedures called by triggers... Is it possible for these triggers to be asynchronous, in order not to block the client application during the recursive process ? Regards, -- Jean-Christophe Praud - http://shub-niggurath.com Conseil & Développement Informatique http://www.praud.com Ph'nglui mglw'nafh Cthulhu n'gah Bill R'lyeh Wgah'nagl fhtagn!