pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: 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 ?
Date: Tue, 14 Jul 2009 11:33:21 -0600
Message-ID: <dcc563d10907141033ja1783d7y7fe7599979f7599@mail.gmail.com> (raw)
In-Reply-To: <25173.1247590050@sss.pgh.pa.us>
References: <4A5C9F55.5050305@encs.concordia.ca>
	<25173.1247590050@sss.pgh.pa.us>

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?



view thread (5+ messages)  latest in thread

Message-ID: <dcc563d10907141033ja1783d7y7fe7599979f7599@mail.gmail.com>
Permalink:  ../dcc563d10907141033ja1783d7y7fe7599979f7599@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10907141033ja1783d7y7fe7599979f7599@mail.gmail.com

 · 

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: scott.marlowe@gmail.com, tgl@sss.pgh.pa.us, emilu@encs.concordia.ca
  Subject: Re: Request new version to support "on commit drop" for create temp table ... as select ?
  In-Reply-To: <dcc563d10907141033ja1783d7y7fe7599979f7599@mail.gmail.com>

* 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