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 255C38B9E22 for ; Wed, 16 Feb 2005 23:47:24 +0000 (GMT) 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 65369-10 for ; Wed, 16 Feb 2005 23:47:16 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id DACEE8B9BD0 for ; Wed, 16 Feb 2005 23:47:18 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id j1GNlERa030006 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 16 Feb 2005 16:47:16 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id j1GNlD5O020816; Wed, 16 Feb 2005 16:47:13 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id j1GNlDV2020815; Wed, 16 Feb 2005 16:47:13 -0700 (MST) (envelope-from mfuhr) Date: Wed, 16 Feb 2005 16:47:13 -0700 From: Michael Fuhr To: Eugen Gass Cc: pgsql-sql@postgresql.org Subject: Re: Trigger Message-ID: <20050216234713.GA20768@winnie.fuhr.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/185 X-Sequence-Number: 20296 On Wed, Feb 16, 2005 at 02:44:30PM +0100, Eugen Gass wrote: > > I'm trying to create a trigger on PostgreSQL See the "Server Programming" part of the documentation (substitute the appropriate version of PostgreSQL in the links): http://www.postgresql.org/docs/8.0/static/server-programming.html http://www.postgresql.org/docs/8.0/static/triggers.html http://www.postgresql.org/docs/8.0/static/plpgsql.html http://www.postgresql.org/docs/8.0/static/plpgsql-trigger.html If you still have trouble then please post the PostgreSQL code you tried, describe what you'd like to happen, and explain what actually does happen. -- Michael Fuhr http://www.fuhr.org/~mfuhr/