Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 6780C633C70 for ; Tue, 14 Jul 2009 14:18:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 58488-01 for ; Tue, 14 Jul 2009 14:18:21 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 28CA3635E22 for ; Tue, 14 Jul 2009 13:47:56 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n6EGlU2l025174; Tue, 14 Jul 2009 12:47:30 -0400 (EDT) To: emilu@encs.concordia.ca cc: pgsql-sql@postgresql.org Subject: Re: Request new version to support "on commit drop" for create temp table ... as select ? In-reply-to: <4A5C9F55.5050305@encs.concordia.ca> References: <4A5C9F55.5050305@encs.concordia.ca> Comments: In-reply-to Emi Lu message dated "Tue, 14 Jul 2009 11:08:05 -0400" Date: Tue, 14 Jul 2009 12:47:30 -0400 Message-ID: <25173.1247590050@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200907/70 X-Sequence-Number: 32811 Emi Lu writes: > I googled to find that "on commit drop" does not support: > (a) create temp table as select * from table1 where 1<>2; > http://archives.postgresql.org/pgsql-sql/2005-09/msg00153.php Ah, the pitfalls of believing that the first google hit you get is authoritative. Didn't you notice that message was from 2005? regards, tom lane