From: | Heikki Linnakangas <heikki(at)enterprisedb(dot)com> |
---|---|
To: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at> |
Cc: | 田忠磊 *EXTERN* <tianzhonglei(at)boco(dot)com(dot)cn>, pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: can i get your help? |
Date: | 2007-11-07 09:51:45 |
Message-ID: | 47318AB1.4030003@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Phillip Mills | 2007-11-07 13:16:31 | Re: Beginning tuning |
Previous Message | Albe Laurenz | 2007-11-07 08:52:57 | Re: can i get your help? |