Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 620209FB46E for ; Fri, 27 Jul 2007 12:51:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 61910-04 for ; Fri, 27 Jul 2007 12:50:57 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from BRUBLUmx12.mactelecom.net (BRUBLUmx12.mactelecom.net [217.64.240.4]) by postgresql.org (Postfix) with ESMTP id F2F9D9FB2E0 for ; Fri, 27 Jul 2007 12:50:57 -0300 (ADT) Received: from smtp.eurofer.be (217.64.254.218.mactelecom.net [217.64.254.218]) by BRUBLUmx12.mactelecom.net (Postfix) with ESMTP id 98CD98380BE for ; Fri, 27 Jul 2007 17:50:56 +0200 (CEST) Received: from pcgdl.eurofer.be ([192.168.3.150]) by smtp.eurofer.be with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IES5Q-0001Iz-9e for pgsql-admin@postgresql.org; Fri, 27 Jul 2007 17:50:56 +0200 Message-ID: <46AA144F.3010604@eurofer.be> Date: Fri, 27 Jul 2007 17:50:39 +0200 From: De Leeuw Guy User-Agent: IceDove 1.5.0.10 (X11/20070329) MIME-Version: 1.0 To: pgsql-admin@postgresql.org X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam_score: -4.0 X-SA-Exim-Connect-IP: 192.168.3.150 X-SA-Exim-Mail-From: G.De_Leeuw@eurofer.be Subject: trigger and pg_fini X-SA-Exim-Scanned: Yes (on smtp.eurofer.be) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/318 X-Sequence-Number: 26299 Hello all I make a lot of tests with trigger and first problem the function _PG_fini are never called it is a bug ?. This is a big problem for me because I want to cleanup the data managed by my trigger. second problem I cannot detect from a trigger the kind of call (row or transaction) I suggest (if it's possible) to add a trigger event like : begin start, begin end copy start copy end or something like that. regards Guy