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 6BC0C9DC847 for ; Thu, 16 Feb 2006 11:05:20 -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 13782-01 for ; Thu, 16 Feb 2006 11:05:19 -0400 (AST) 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 98E2A9DCCBC for ; Thu, 16 Feb 2006 11:05:12 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k1GF5FmK028151; Thu, 16 Feb 2006 10:05:15 -0500 (EST) To: Markus Schaber cc: Antal Attila , pgsql-sql@postgresql.org Subject: Re: VIEWs and TEMP tables problem In-reply-to: <43F46C5E.8090806@logix-tt.com> References: <43F4617E.9060708@ritek.hu> <43F46C5E.8090806@logix-tt.com> Comments: In-reply-to Markus Schaber message dated "Thu, 16 Feb 2006 13:13:18 +0100" Date: Thu, 16 Feb 2006 10:05:15 -0500 Message-ID: <28150.1140102315@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.11 required=5 tests=[AWL=0.110] X-Spam-Score: 0.11 X-Spam-Level: X-Archive-Number: 200602/205 X-Sequence-Number: 24215 Markus Schaber writes: > Antal Attila wrote: >> Is it BUG, or FEATURE? Has anybody got good ideas for solve this problem? > It is a feature. Right. Note that one possible answer is, after you make the temp table, to create a temp view referencing the temp table (and hiding the permanent view in the same way as the temp table hides the permanent table). regards, tom lane