Re: FYI: porting Copy API to 8.x

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Kalle Hallivuori <kato(at)iki(dot)fi>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: FYI: porting Copy API to 8.x
Date: 2007-05-30 14:47:06
Message-ID: 66D125B2-3C81-467E-BC02-D784ACDD5499@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jo Candace 2007-05-30 15:59:45 Problems with a very big string
Previous Message Kalle Hallivuori 2007-05-30 12:29:47 FYI: porting Copy API to 8.x