Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 88B9B9FB778 for ; Wed, 30 May 2007 09:29:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 58380-09 for ; Wed, 30 May 2007 09:29:47 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by postgresql.org (Postfix) with ESMTP id 9BF899FB6F6 for ; Wed, 30 May 2007 09:29:50 -0300 (ADT) Received: by an-out-0708.google.com with SMTP id c36so654099ana for ; Wed, 30 May 2007 05:29:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=fzkx+oQzkpnv6vXubN/b6qqJaiRDrp2/5wI56KgsbILScSYh/vh0HyFKFA9/sHyj1WpdSjKIYHi8Ve8HK+x/pBoCP4AeiG3KFIruP92M3ZXufhGL3sfgMVmtE0borOrUk73BpkwyItITOq3iG8JcpIU27C2InuUFJhbrnikRRD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=iIqP25BgeN68+g6v1JdoLeUdyy3sH786wZll7n6Q9gzzK/QLso3BIdiOjdwoZHtL0eJMC+JhA5vAYXjmWXucLq7TMLTLAd1sMC5vCNuURy48IxsT09eWdFRBEYJZw9lwFW+bLhgjWMaMAImt2nVw1x6bsA6swEJ9c/VyHXd4UT8= Received: by 10.114.52.1 with SMTP id z1mr3915059waz.1180528187069; Wed, 30 May 2007 05:29:47 -0700 (PDT) Received: by 10.114.147.16 with HTTP; Wed, 30 May 2007 05:29:47 -0700 (PDT) Message-ID: Date: Wed, 30 May 2007 15:29:47 +0300 From: "Kalle Hallivuori" To: pgsql-jdbc@postgresql.org Subject: FYI: porting Copy API to 8.x MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 1e9785e1fcc6eabc X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/65 X-Sequence-Number: 17055 Hi! I'm porting the Copy API to 8.x series of pgjdbc. You may expect a patch at the commit list this week. I've copied Chris Jurka's patch for the 7.x series from here: http://archives.postgresql.org/pgsql-jdbc/2003-12/msg00186.php I'm just modifying that old patch to fit current implementation. Suggestions for enhancements or alternative approaches are welcome so long as they are sufficiently trivial to implement :) Should this patched patch get accepted for inclusion it might make it into official distribution for 8.4. Otherwise (and meanwhile) people will have to keep building their own drivers in order to be able to use COPY TO/FROM STDIN. -- Kalle Hallivuori +358-41-5053073 http://korpiq.iki.fi/