From: Heikki Linnakangas <heikki@enterprisedb.com>
To: Albe Laurenz <laurenz.albe@wien.gv.at>
Cc: 田忠磊 *EXTERN* <tianzhonglei@boco.com.cn>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: can i get your help?
Date: Wed, 07 Nov 2007 09:51:45 +0000
Message-ID: <47318AB1.4030003@enterprisedb.com> (raw)
In-Reply-To: <D960CB61B694CF459DCFB4B0128514C287F77D@exadv11.host.magwien.gv.at>
References: <394416293.05819@eyou.net>
<D960CB61B694CF459DCFB4B0128514C287F77D@exadv11.host.magwien.gv.at>
Albe Laurenz wrote:
> 田忠磊 wrote:
>> I am a develop of java .and I use postgres ,too.but I want to
>> use the command of “copy”, but the using the jdbc driver,
>>
>> Can I use the the command ?and how can I can? I have try for
>> serevel ways,but fails, can you help me.tthanks.
>
> There is no COPY support in the PostgreSQL JDBC driver.
>
> There has been a patch to enable COPY support, but it was
> never added to the source. You may try your luck with this
> if you are willing to put up with the trouble.
>
> http://archives.postgresql.org/pgsql-jdbc/2003-12/msg00186.php
>
> The patch is for version 7.4, so it will probably need work.
There is a more recent patch by Kalle Hallivuori:
http://kato.iki.fi/sw/db/postgresql/jdbc/copy/
I hope it gets included in the main driver soon.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: heikki@enterprisedb.com, laurenz.albe@wien.gv.at, tianzhonglei@boco.com.cn
Subject: Re: can i get your help?
In-Reply-To: <47318AB1.4030003@enterprisedb.com>
References: <394416293.05819@eyou.net> <D960CB61B694CF459DCFB4B0128514C287F77D@exadv11.host.magwien.gv.at> <47318AB1.4030003@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox