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 EF74852824 for ; Wed, 8 Jun 2005 17:07:40 -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 31213-10 for ; Wed, 8 Jun 2005 20:07:39 +0000 (GMT) Received: from wolff.to (wolff.to [66.93.197.194]) by svr1.postgresql.org (Postfix) with SMTP id 7ED1452849 for ; Wed, 8 Jun 2005 17:07:38 -0300 (ADT) Received: (qmail 13672 invoked by uid 500); 8 Jun 2005 20:06:56 -0000 Date: Wed, 8 Jun 2005 15:06:56 -0500 From: Bruno Wolff III To: David Hofmann Cc: pgsql-sql@postgresql.org Subject: Re: Rule Message-ID: <20050608200656.GA13635@wolff.to> Mail-Followup-To: Bruno Wolff III , David Hofmann , pgsql-sql@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.008 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/117 X-Sequence-Number: 21718 On Wed, Jun 08, 2005 at 15:51:35 -0400, David Hofmann wrote: > > What I want to do is setup some kind of rule so that whenever a s_data > field is updated, that the time_stamp gets update to the current time/date. Normally you want to do that with a before trigger rather than a rule.