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 0E85611F6564 for ; Tue, 18 Apr 2006 16:53:29 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0.127 X-Spam-Level: X-Spam-Status: No, score=0.127 required=5 tests=[AWL=0.127] Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id tjAz+f+xt9Q8 for ; Tue, 18 Apr 2006 16:53:16 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id C235B11F6213 for ; Tue, 18 Apr 2006 16:53:17 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k3IJr9OZ018466; Tue, 18 Apr 2006 15:53:09 -0400 (EDT) To: Ron Peterson cc: pgsql-sql@postgresql.org Subject: Re: create temp table in rule In-reply-to: <20060418184209.GB31915@mtholyoke.edu> References: <20060418184209.GB31915@mtholyoke.edu> Comments: In-reply-to Ron Peterson message dated "Tue, 18 Apr 2006 14:42:10 -0400" Date: Tue, 18 Apr 2006 15:53:09 -0400 Message-ID: <18465.1145389989@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200604/122 X-Sequence-Number: 24931 Ron Peterson writes: > Is it possible to create a temporary table within a rule? No, sorry. From memory, rules only allow SELECT/INSERT/UPDATE/DELETE plus NOTIFY (and there are restrictions on the latter). regards, tom lane