Re: Request new version to support "on commit drop" for create temp table ... as select ?

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: emilu(at)encs(dot)concordia(dot)ca, pgsql-sql(at)postgresql(dot)org
Subject: Re: Request new version to support "on commit drop" for create temp table ... as select ?
Date: 2009-07-14 17:33:21
Message-ID: dcc563d10907141033ja1783d7y7fe7599979f7599@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tue, Jul 14, 2009 at 10:47 AM, Tom Lane<tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Emi Lu <emilu(at)encs(dot)concordia(dot)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?

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2009-07-14 17:38:26 Re: Request new version to support "on commit drop" for create temp table ... as select ?
Previous Message Tom Lane 2009-07-14 16:47:30 Re: Request new version to support "on commit drop" for create temp table ... as select ?