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 7E2FE9DCDE3 for ; Thu, 12 Jan 2006 13:01:55 -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 93924-10-2 for ; Thu, 12 Jan 2006 13:01:47 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (serval.logix-tt.com [213.239.221.42]) by postgresql.org (Postfix) with ESMTP id 07B329DCDCF for ; Thu, 12 Jan 2006 13:01:45 -0400 (AST) Received: from kingfisher.intern.logix-tt.com (Mca3b.m.pppool.de [89.49.202.59]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id F0B1424400F; Thu, 12 Jan 2006 18:08:00 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 2C5D818148C79; Thu, 12 Jan 2006 18:01:41 +0100 (CET) Message-ID: <43C68B75.3040806@logix-tt.com> Date: Thu, 12 Jan 2006 18:01:41 +0100 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: chester c young Cc: pgsql-sql@postgresql.org Subject: Re: plpgsql triggers in rules References: <20060101181955.23411.qmail@web54313.mail.yahoo.com> In-Reply-To: <20060101181955.23411.qmail@web54313.mail.yahoo.com> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200601/53 X-Sequence-Number: 23842 Hi, Chester, chester c young wrote: > is is possible for to have a "do instead" trigger on a view that is a > plpgsql function? Kinda. They're called "rules", not "triggers". See http://www.postgresql.org/docs/8.1/interactive/rules.html HTH, Schabi -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org