Re: Request new version to support "on commit drop" for create temp table ... as select ? - Mailing list pgsql-sql

From Scott Marlowe
Subject Re: Request new version to support "on commit drop" for create temp table ... as select ?
Date
Msg-id dcc563d10907141033ja1783d7y7fe7599979f7599@mail.gmail.com
Whole thread Raw
In response to Re: Request new version to support "on commit drop" for create temp table ... as select ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Request new version to support "on commit drop" for create temp table ... as select ?
List pgsql-sql
On Tue, Jul 14, 2009 at 10:47 AM, Tom Lane<tgl@sss.pgh.pa.us> wrote:
> Emi Lu <emilu@encs.concordia.ca> 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?

That's what I thought, but

create temp table xyz as select * from abc on commit drop;

still fails on 8.3.  Was this fixed in 8.4 or is my syntax wonky?


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Request new version to support "on commit drop" for create temp table ... as select ?
Next
From: Tom Lane
Date:
Subject: Re: Request new version to support "on commit drop" for create temp table ... as select ?