X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 48A3B53386 for ; Tue, 12 Apr 2005 12:17:36 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 30341-01 for ; Tue, 12 Apr 2005 15:17:30 +0000 (GMT) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by svr1.postgresql.org (Postfix) with SMTP id A185F5336F for ; Tue, 12 Apr 2005 12:17:28 -0300 (ADT) Received: from unknown (HELO phlogiston.dydns.org) (a.sullivan@rogers.com@216.75.167.195 with login) by smtp105.rog.mail.re2.yahoo.com with SMTP; 12 Apr 2005 15:17:26 -0000 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id 93B633D2F; Tue, 12 Apr 2005 11:17:21 -0400 (EDT) Date: Tue, 12 Apr 2005 11:17:21 -0400 From: Andrew Sullivan To: pgsql-sql@postgresql.org Subject: Re: Update aborted if trigger function fails? Message-ID: <20050412151721.GA4291@phlogiston.dyndns.org> References: <425ADE3F.1090206@mochima.com> <425B7920.4040002@archonet.com> <425BE162.6010501@mochima.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <425BE162.6010501@mochima.com> User-Agent: Mutt/1.5.6+20040907i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/165 X-Sequence-Number: 21058 On Tue, Apr 12, 2005 at 10:55:30AM -0400, Carlos Moreno wrote: > > I guess the concern came up as result of a particular > situation, in which failing to properly process the > trigger function is not that crucial (I wanted to > update some additional information that is "optional", > and that can be reconstructed easily after discovering > that the trigger function had been failing). But in If you can do some things asynchronously, and you don't care about them very much, then you can use LISTEN/NOTIFY to do such processing. A -- Andrew Sullivan | ajs@crankycanuck.ca Information security isn't a technological problem. It's an economics problem. --Bruce Schneier