pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedcan i get your help?
3+ messages / 3 participants
[nested] [flat]
* can i get your help?
@ 2007-11-07 06:25 田忠磊 <tianzhonglei@boco.com.cn>
0 siblings, 1 reply; 3+ messages in thread
From: 田忠磊 @ 2007-11-07 06:25 UTC (permalink / raw)
To: pgsql-jdbc
Hi,
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.
Best wishes,
Tian
zhonglei
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: can i get your help?
@ 2007-11-07 08:52 Albe Laurenz <laurenz.albe@wien.gv.at>
parent: 田忠磊 <tianzhonglei@boco.com.cn>
0 siblings, 1 reply; 3+ messages in thread
From: Albe Laurenz @ 2007-11-07 08:52 UTC (permalink / raw)
To: 田忠磊 *EXTERN* <tianzhonglei@boco.com.cn>; pgsql-jdbc
田忠磊 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.
Yours,
Laurenz Albe
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: can i get your help?
@ 2007-11-07 09:51 Heikki Linnakangas <heikki@enterprisedb.com>
parent: Albe Laurenz <laurenz.albe@wien.gv.at>
0 siblings, 0 replies; 3+ messages in thread
From: Heikki Linnakangas @ 2007-11-07 09:51 UTC (permalink / raw)
To: Albe Laurenz <laurenz.albe@wien.gv.at>; +Cc: 田忠磊 *EXTERN* <tianzhonglei@boco.com.cn>; 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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2007-11-07 09:51 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-11-07 06:25 can i get your help? 田忠磊 <tianzhonglei@boco.com.cn>
2007-11-07 08:52 ` Albe Laurenz <laurenz.albe@wien.gv.at>
2007-11-07 09:51 ` Heikki Linnakangas <heikki@enterprisedb.com>
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