Re: FYI: porting Copy API to 8.x - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: FYI: porting Copy API to 8.x
Date
Msg-id 66D125B2-3C81-467E-BC02-D784ACDD5499@fastcrypt.com
Whole thread Raw
In response to FYI: porting Copy API to 8.x  ("Kalle Hallivuori" <kato@iki.fi>)
Responses Re: FYI: porting Copy API to 8.x  ("Kalle Hallivuori" <kato@iki.fi>)
List pgsql-jdbc
Kalle,

The reason that the patch has never been officially accepted is
because it creates two protocol paths.

To do this correctly you need to add the copy functionality into the
current protocol handler as opposed to having a separate protocol
handler for copy.

Dave
On 30-May-07, at 8:29 AM, Kalle Hallivuori wrote:

> Hi!
>
> I'm porting the Copy API to 8.x series of pgjdbc. You may expect a
> patch at the commit list this week.
>
> I've copied Chris Jurka's patch for the 7.x series from here:
> http://archives.postgresql.org/pgsql-jdbc/2003-12/msg00186.php
>
> I'm just modifying that old patch to fit current implementation.
> Suggestions for enhancements or alternative approaches are welcome so
> long as they are sufficiently trivial to implement :)
>
> Should this patched patch get accepted for inclusion it might make it
> into official distribution for 8.4. Otherwise (and meanwhile) people
> will have to keep building their own drivers in order to be able to
> use COPY TO/FROM STDIN.
>
> --
> Kalle Hallivuori +358-41-5053073 http://korpiq.iki.fi/
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faq


pgsql-jdbc by date:

Previous
From: "Kalle Hallivuori"
Date:
Subject: FYI: porting Copy API to 8.x
Next
From: "Jo Candace"
Date:
Subject: Problems with a very big string