pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Emi Lu <emilu@encs.concordia.ca>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Request new version to support "on commit drop" for create temp table ... as select ?
Date: Tue, 14 Jul 2009 14:52:38 -0400
Message-ID: <4A5CD3F6.8030505@encs.concordia.ca> (raw)
In-Reply-To: <26125.1247593106@sss.pgh.pa.us>
References: <4A5C9F55.5050305@encs.concordia.ca>
	<25173.1247590050@sss.pgh.pa.us>
	<dcc563d10907141033ja1783d7y7fe7599979f7599@mail.gmail.com>
	<26125.1247593106@sss.pgh.pa.us>

Got it. Thank you Tom!

> Scott Marlowe <scott.marlowe@gmail.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
> 




view thread (5+ messages)

Message-ID: <4A5CD3F6.8030505@encs.concordia.ca>
Permalink:  ../4A5CD3F6.8030505@encs.concordia.ca/
Also on:    postgresql.org/message-id/4A5CD3F6.8030505@encs.concordia.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: emilu@encs.concordia.ca, tgl@sss.pgh.pa.us, scott.marlowe@gmail.com
  Subject: Re: Request new version to support "on commit drop" for create temp table ... as select ?
  In-Reply-To: <4A5CD3F6.8030505@encs.concordia.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox