Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 1EC679FB2CC for ; Tue, 10 Oct 2006 18:15:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 60585-01 for ; Tue, 10 Oct 2006 21:15:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by postgresql.org (Postfix) with ESMTP id 7B3B39FB25A for ; Tue, 10 Oct 2006 18:15:17 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id m18so412831nfc for ; Tue, 10 Oct 2006 14:15:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CTeIt98KAo60NzVzTVW8dyALQCwJzSykfJvWS+t8wyU9wfH8Mnw5XuZQpbtK4wkUkEqEXVDvtbw3XWC2eYFEKx4SzfNDAK8PDgK6Iae/KzJ3ze9qsMENB8AgYbg+JD8ueVZ5Im7SOUBz/3Fo2ciCia+YgLbve2KMqg9aSu7Rp0s= Received: by 10.49.8.4 with SMTP id l4mr1951698nfi; Tue, 10 Oct 2006 14:15:16 -0700 (PDT) Received: by 10.48.164.13 with HTTP; Tue, 10 Oct 2006 14:15:16 -0700 (PDT) Message-ID: <5d0f60990610101415s170b032ao6bcac270bddc5f3a@mail.gmail.com> Date: Tue, 10 Oct 2006 23:15:16 +0200 From: "Dirk Jagdmann" To: "George Pavlov" Subject: Re: optimal insert Cc: pgsql-sql@postgresql.org In-Reply-To: <8C5B026B51B6854CBE88121DBF097A864DF146@ehost010-33.exch010.intermedia.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8C5B026B51B6854CBE88121DBF097A864DF146@ehost010-33.exch010.intermedia.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.199 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, SPF_PASS X-Spam-Level: X-Archive-Number: 200610/105 X-Sequence-Number: 26494 Hello George, > And don't forget that \COPY and especially COPY are usually much faster > (and, IMHO, easier to compose/maintain) than gobs of INSERTs. I did not forget, but my application uses embedded SQL (with the epcg preprocessor) and I don't think it can handle COPYs :( -- ---> Dirk Jagdmann ----> http://cubic.org/~doj -----> http://llg.cubic.org