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 9CFD311F6C98 for ; Mon, 3 Apr 2006 20:15:25 -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 15006-06 for ; Mon, 3 Apr 2006 20:15:25 -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 CD2DA11F6C51 for ; Mon, 3 Apr 2006 20:15:22 -0300 (ADT) Received: (qmail 24341 invoked from network); 3 Apr 2006 23:15:22 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 3 Apr 2006 23:15:22 -0000 In-Reply-To: <845AADAC1106E44996327D62097E4C6B8AA6DB@et.ad.sdsc.edu> References: <845AADAC1106E44996327D62097E4C6B8AA6DB@et.ad.sdsc.edu> Mime-Version: 1.0 (Apple Message framework v746.3) Content-Type: multipart/alternative; boundary=Apple-Mail-31-442680417 Message-Id: <475E7650-A02E-428B-A409-27CF99CD4D42@fastcrypt.com> Cc: From: Dave Cramer Subject: Re: psql COPY with JDBC Date: Mon, 3 Apr 2006 19:15:21 -0400 To: "Christopher Condit" X-Mailer: Apple Mail (2.746.3) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.137 required=5 tests=[AWL=0.136, HTML_MESSAGE=0.001] X-Spam-Score: 0.137 X-Spam-Level: X-Archive-Number: 200604/26 X-Sequence-Number: 14960 --Apple-Mail-31-442680417 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Chris, It's not *that* old, it should apply to the latest code base without =20 too much effort. If you do can you send me the most 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 gz =20= > 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 this =20 > 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, so =20= > I thought I=92d try here. I need to bulk load results from a Java =20 > application on one machine to a postgres db on a remote server. I =20 > know I can use psql interactively to accomplish this, but I=92d like =20= > 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 > > > > > > > --Apple-Mail-31-442680417 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=WINDOWS-1252 Chris,

It's not *that* old, it = should apply to the latest code base without too much effort. If you do = can you send me the most current patch.

Either way it will = work=A0

Dave
On = 3-Apr-06, at 7:07 PM, Christopher Condit wrote:

Hi Dave-

Thanks for the patch.=A0= Is it best to use the code base from this 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 this functionality?

-Chris


From: Dave Cramer [mailto:pg@fastcrypt.com]
Monday, April 03, = 2006 4:04 PM
Christopher = Condit
pgsql-jdbc@postgresql.org
Re: [JDBC] psql = COPY with JDBC

=A0

Yeah, there is a patch, this is rather old now = but will do copy.

=A0

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, so I thought I=92d try here.=A0 I need to = bulk load results from a Java application on one machine to a postgres = db on a remote server.=A0 I know I can use psql interactively to = accomplish this, but I=92d like to be able to do it = programmatically:1)=A0=A0=A0=A0=A0=A0 = =A0

Thanks for your time!=A0

Chris




= --Apple-Mail-31-442680417--