Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 35AF72E0091 for ; Thu, 13 Dec 2007 12:34:28 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 70690-03 for ; Thu, 13 Dec 2007 12:34:20 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 809FE2E33B9 for ; Thu, 13 Dec 2007 12:34:20 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id lBDGXrq7013237; Thu, 13 Dec 2007 11:33:53 -0500 (EST) To: "Rolf A. de By" cc: pgsql-sql@postgresql.org Subject: Re: Trigger definition . . . puzzled In-reply-to: <476156EF.8080901@itc.nl> References: <4760DCED.7080805@itc.nl> <12289.1197560972@sss.pgh.pa.us> <476156EF.8080901@itc.nl> Comments: In-reply-to "Rolf A. de By" message dated "Thu, 13 Dec 2007 16:59:43 +0100" Date: Thu, 13 Dec 2007 11:33:53 -0500 Message-ID: <13236.1197563633@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/80 X-Sequence-Number: 29772 "Rolf A. de By" writes: > Yes, this is an inheritance set-up. But actually no: I am executing all > my data changes against the parent table, and want the trigger on that > parent table to fire for an insert on the parent table as it does. But > I also want the trigger to fire when an update on the parent table is > executed, and this does not happen. There is no update on any row in the parent table. The update is on a row in a child table. regards, tom lane