X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id C095E11F622C for ; Fri, 7 Apr 2006 07:12:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 84706-03 for ; Fri, 7 Apr 2006 07:12:26 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (Postfix) with SMTP id 90E4411F6218 for ; Fri, 7 Apr 2006 07:12:28 -0300 (ADT) Received: (qmail 29020 invoked from network); 7 Apr 2006 10:12:28 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 7 Apr 2006 10:12:28 -0000 In-Reply-To: <1E6DBF51-BE90-4D70-9931-605543B6607F@pervasive.com> References: <845AADAC1106E44996327D62097E4C6B8AA6DB@et.ad.sdsc.edu> <475E7650-A02E-428B-A409-27CF99CD4D42@fastcrypt.com> <1E6DBF51-BE90-4D70-9931-605543B6607F@pervasive.com> Mime-Version: 1.0 (Apple Message framework v746.3) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Message-Id: Cc: "Christopher Condit" , Content-Transfer-Encoding: quoted-printable From: Dave Cramer Subject: Re: psql COPY with JDBC Date: Fri, 7 Apr 2006 06:12:04 -0400 To: Jim Nasby X-Mailer: Apple Mail (2.746.3) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200604/68 X-Sequence-Number: 15002 Jim, Yeah, it duplicates the executor code so that it is two places. =20 Ideally it should only be in one place. Dave On 6-Apr-06, at 10:26 PM, Jim Nasby wrote: > Probably a dumb question, but is there any reason this patch hasn't =20= > been committed to the base JDBC code? > > On Apr 3, 2006, at 6:15 PM, Dave Cramer wrote: >> Chris, >> >> It's not *that* old, it should apply to the latest code base =20 >> without too much effort. If you do can you send me the most =20 >> current patch. >> >> Either way it will work >> >> Dave >> On 3-Apr-06, at 7:07 PM, Christopher Condit wrote: >> >>> Hi Dave- >>> >>> Thanks for the patch. Is it best to use the code base from this =20 >>> gz or should I attempt to apply the patch to the current code base? >>> >>> Since the patch is so old, is there a preferred way to get at =20 >>> this functionality? >>> >>> >>> >>> -Chris >>> >>> >>> >>> From: Dave Cramer [mailto:pg@fastcrypt.com] >>> Sent: Monday, April 03, 2006 4:04 PM >>> To: Christopher Condit >>> Cc: pgsql-jdbc@postgresql.org >>> Subject: Re: [JDBC] psql COPY with JDBC >>> >>> >>> >>> Yeah, there is a patch, this is rather old now but will do copy. >>> >>> >>> >>> http://download.postgresintl.com/copy.tar.gz >>> >>> >>> >>> Dave >>> >>> On 3-Apr-06, at 4:36 PM, Christopher Condit wrote: >>> >>> >>> >>> >>> Hi All- >>> >>> I=92ve been trying over at the general postgres list with no luck, =20= >>> so I thought I=92d try here. I need to bulk load results from a =20 >>> Java application on one machine to a postgres db on a remote =20 >>> server. I know I can use psql interactively to accomplish this, =20 >>> but I=92d like to be able to do it programmatically: >>> >>> 1) Is there a better way to accomplish this than the above =20 >>> patch =96 with or without JDBC? >>> >>> >>> >>> Thanks for your time! >>> >>> >>> >>> Chris >>> >>> >>> >>> >>> >>> >>> >> > > -- > Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com > Pervasive Software http://pervasive.com work: 512-231-6117 > vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461 > > >