Re: psql COPY with JDBC

Lists: pgsql-jdbc
From: "Christopher Condit" <condit(at)sdsc(dot)edu>
To: "Dave Cramer" <pg(at)fastcrypt(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: psql COPY with JDBC
Date: 2006-04-03 23:07:49
Message-ID: 845AADAC1106E44996327D62097E4C6B8AA6DB@et.ad.sdsc.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

Hi Dave-

Thanks for the patch. 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(at)fastcrypt(dot)com]
Sent: Monday, April 03, 2006 4:04 PM
To: Christopher Condit
Cc: pgsql-jdbc(at)postgresql(dot)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've been trying over at the general postgres list with no luck, so I
thought I'd try here. I need to bulk load results from a Java
application on one machine to a postgres db on a remote server. I know
I can use psql interactively to accomplish this, but I'd like to be able
to do it programmatically:

1) Is there a better way to accomplish this than the above patch -
with or without JDBC?

Thanks for your time!

Chris


From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: "Christopher Condit" <condit(at)sdsc(dot)edu>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: psql COPY with JDBC
Date: 2006-04-03 23:15:21
Message-ID: 475E7650-A02E-428B-A409-27CF99CD4D42@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

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

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
> 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(at)fastcrypt(dot)com]
> Sent: Monday, April 03, 2006 4:04 PM
> To: Christopher Condit
> Cc: pgsql-jdbc(at)postgresql(dot)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’ve been trying over at the general postgres list with no luck, so
> I thought I’d try here. I need to bulk load results from a Java
> application on one machine to a postgres db on a remote server. I
> know I can use psql interactively to accomplish this, but I’d like
> to be able to do it programmatically:
>
> 1) Is there a better way to accomplish this than the above
> patch – with or without JDBC?
>
>
>
> Thanks for your time!
>
>
>
> Chris
>
>
>
>
>
>
>


From: Jim Nasby <jnasby(at)pervasive(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: "Christopher Condit" <condit(at)sdsc(dot)edu>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: psql COPY with JDBC
Date: 2006-04-07 02:26:23
Message-ID: 1E6DBF51-BE90-4D70-9931-605543B6607F@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

Probably a dumb question, but is there any reason this patch hasn't
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
> without 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 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(at)fastcrypt(dot)com]
>> Sent: Monday, April 03, 2006 4:04 PM
>> To: Christopher Condit
>> Cc: pgsql-jdbc(at)postgresql(dot)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’ve been trying over at the general postgres list with no luck,
>> so I thought I’d try here. I need to bulk load results from a
>> Java application on one machine to a postgres db on a remote
>> server. I know I can use psql interactively to accomplish this,
>> but I’d like to be able to do it programmatically:
>>
>> 1) Is there a better way to accomplish this than the above
>> patch – with or without JDBC?
>>
>>
>>
>> Thanks for your time!
>>
>>
>>
>> Chris
>>
>>
>>
>>
>>
>>
>>
>

--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461


From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Jim Nasby <jnasby(at)pervasive(dot)com>
Cc: "Christopher Condit" <condit(at)sdsc(dot)edu>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: psql COPY with JDBC
Date: 2006-04-07 10:12:04
Message-ID: D0A76FDB-B675-43B8-AB3F-1C9EF1D422EC@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

Jim,

Yeah, it duplicates the executor code so that it is two places.
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
> 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
>> without 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 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(at)fastcrypt(dot)com]
>>> Sent: Monday, April 03, 2006 4:04 PM
>>> To: Christopher Condit
>>> Cc: pgsql-jdbc(at)postgresql(dot)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’ve been trying over at the general postgres list with no luck,
>>> so I thought I’d try here. I need to bulk load results from a
>>> Java application on one machine to a postgres db on a remote
>>> server. I know I can use psql interactively to accomplish this,
>>> but I’d like to be able to do it programmatically:
>>>
>>> 1) Is there a better way to accomplish this than the above
>>> patch – with or without JDBC?
>>>
>>>
>>>
>>> Thanks for your time!
>>>
>>>
>>>
>>> Chris
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
> --
> Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
> Pervasive Software http://pervasive.com work: 512-231-6117
> vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
>
>
>