Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 08B8A9FB454 for ; Fri, 8 Jun 2007 08:32:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 65322-02 for ; Fri, 8 Jun 2007 08:32:41 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by postgresql.org (Postfix) with ESMTP id A399A9FB438 for ; Fri, 8 Jun 2007 08:32:42 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id u2so1021255uge for ; Fri, 08 Jun 2007 04:32:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=LxHYsMoFL5788v7ssGLbAG+K3S3stfD3h4TUrHCgAGKabOBK3xYlOhb+DjSBKkoHK301L26J90aSOZXf/pMe/O9jojYeLu3hUOmda6bWfLEip9kjI+guUNdqMB+z7vK3HJHjDMaGTa8EA9jmbH7C/1hhPjqSyJolmfQf6kGhuAM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=a8NNMDpMg7ymZxxKNIaKCh6kiH4YjE0PMp7HoawelXGESVctFi3vDFJb2LhNGKMiAwR0SFvze7/kS66r9X8XKcTZF2si7ArnttDTB2cFun9oxg4ZhxUmLzZfG2+bXa/6b9m9KyCWH9QdTSc4QbuKV1bGXdXT1guUok9h2RiHCdM= Received: by 10.67.40.5 with SMTP id s5mr1907017ugj.1181302359231; Fri, 08 Jun 2007 04:32:39 -0700 (PDT) Received: from ?172.24.32.54? ( [62.232.55.118]) by mx.google.com with ESMTP id e34sm4809510ugd.2007.06.08.04.32.37 (version=SSLv3 cipher=RC4-MD5); Fri, 08 Jun 2007 04:32:37 -0700 (PDT) Message-ID: <46693E3E.2060700@enterprisedb.com> Date: Fri, 08 Jun 2007 12:32:14 +0100 From: Heikki Linnakangas User-Agent: Icedove 1.5.0.10 (X11/20070329) MIME-Version: 1.0 To: Kalle Hallivuori CC: pgsql-jdbc@postgresql.org Subject: Re: FYI: porting Copy API to 8.x References: <66D125B2-3C81-467E-BC02-D784ACDD5499@fastcrypt.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/37 X-Sequence-Number: 17099 Kalle Hallivuori wrote: > To ensure inclusion in the official source, I tried to follow the way > Fastpath was implemented. I can't comment on whether that approach is good or not, but the fast path has been pretty much obsoleted since the introduction of server-side prepared statements, in 7.4 IIRC. That piece of code is not necessarily a good example to follow. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com