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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
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:38:26
Message-ID: 26125.1247593106@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> writes:
> 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?

Your syntax is wonky -- switch the clause order.
http://www.postgresql.org/docs/8.3/static/sql-createtableas.html

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Emi Lu 2009-07-14 18:52:38 Re: Request new version to support "on commit drop" for create temp table ... as select ?
Previous Message Scott Marlowe 2009-07-14 17:33:21 Re: Request new version to support "on commit drop" for create temp table ... as select ?