X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 66CB99DCACD for ; Thu, 9 Mar 2006 10:53:40 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 79036-08 for ; Thu, 9 Mar 2006 10:53:43 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from pih-relay05.plus.net (pih-relay05.plus.net [212.159.14.132]) by postgresql.org (Postfix) with ESMTP id A0ED79DCAD2 for ; Thu, 9 Mar 2006 10:53:37 -0400 (AST) Received: from [213.162.97.75] (helo=mail.metronet.co.uk) by pih-relay05.plus.net with esmtp (Exim) id 1FHMWL-0002ls-Vm; Thu, 09 Mar 2006 14:53:42 +0000 Received: from mainbox.archonet.com (unknown [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 3221840D72E; Thu, 9 Mar 2006 14:41:46 +0000 (GMT) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id EE247FF04; Thu, 9 Mar 2006 14:41:45 +0000 (GMT) Message-ID: <44103EA9.5040902@archonet.com> Date: Thu, 09 Mar 2006 14:41:45 +0000 From: Richard Huxton User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Fl=E1vio_Suguimoto?= Cc: pgsql-sql@postgresql.org Subject: Re: Problems with disabling triggers in Postgres 7.3.9 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.121 required=5 tests=[AWL=0.121] X-Spam-Score: 0.121 X-Spam-Level: X-Archive-Number: 200603/140 X-Sequence-Number: 24486 Fl=E1vio Suguimoto wrote: > Hi Richard, >=20 > I have that trigger running on AFTER INSERT of participation table. Tha= t > trigger inserts 3 new record for each line i inserted in participation.= Yes, but WHY? What problem are you trying to solve. Presumably there is some difference between the first "participation"=20 row and the other 3 - the status, the ticket-number, something. Test for = that difference and you'll know whether you'll need to insert those 3=20 extra rows or not. --=20 Richard Huxton Archonet Ltd