pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Finneid <tfinneid@student.matnat.uio.no>
To: pgsql-performance@postgresql.org
Subject: Re: insert vs select into performance
Date: Wed, 18 Jul 2007 21:13:14 +0200
Message-ID: <469E664A.2010205@ifi.uio.no> (raw)
In-Reply-To: <20070718113249.GI12481@mathom.us>
References: <469D1AD3.9030004@ifi.uio.no>
	<469D1E4F.5090805@tweakers.net>
	<469D2E1B.1090100@ifi.uio.no>
	<20070718113249.GI12481@mathom.us>



Michael Stone wrote:
> On Tue, Jul 17, 2007 at 11:01:15PM +0200, Thomas Finneid wrote:
>> Arjen van der Meijden wrote:
>>> Have you also tried the COPY-statement? Afaik select into is similar 
>>> to what happens in there.
>>
>> No, because it only works on file to db or vice versa not table to table.
> 
> I don't understand how the insert you described is table to table?

SELECT INTO is table to table, so is INSERT INTO SELECT FROM.

regards

thomas



view thread (22+ messages)  latest in thread

Message-ID: <469E664A.2010205@ifi.uio.no>
Permalink:  ../469E664A.2010205@ifi.uio.no/
Also on:    postgresql.org/message-id/469E664A.2010205@ifi.uio.no

 · 

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-performance@postgresql.org
  Cc: tfinneid@student.matnat.uio.no
  Subject: Re: insert vs select into performance
  In-Reply-To: <469E664A.2010205@ifi.uio.no>

* 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