Fw: COPY Support Patch - actualized version?

From: Markus Schaber <schabios(at)logi-track(dot)com>
To: undisclosed-recipients: ;
Subject: Fw: COPY Support Patch - actualized version?
Date: 2004-06-24 16:33:47
Message-ID: 20040624183347.221861cf@kingfisher.intern.logi-track.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

[this is a forward that should have gone to the list, but was
accidentally sent to Kris personally...]

Hi, Kris,

On Thu, 24 Jun 2004 04:26:07 -0500 (EST)
Kris Jurka <books(at)ejurka(dot)com> wrote:

> > I'm currently trying to apply the COPY patch from
> > http://archives.postgresql.org/pgsql-jdbc/2003-12/msg00186.php but
> > it seems that it doesn't work cleanly.
> >
> > Does someone have an updated version ready? I'm currently trying to
> > dig into the code myself, but reinventing the wheel is not my
> > primary pleasure :-)
>
> Steve Wampler claimed to have it working recently here:
>
> http://archives.postgresql.org/pgsql-jdbc/2004-06/msg00034.php
>
> I imagine he patched the 7.4 branch driver instead of the cvs version.

That's what I think, too.

> Merging this with the latest cvs code will be a waste of time as a
> monster patch implementing full V3 protocol support will soon be
> applied and it will need to be remerged. Once this patch is settled
> in I'll produce an updated copy patch.

Well, then I just wasted some time :-)

It turned out to be not so much of work. I attached the result.

I'm relatively shure I totally messed up with the exceptions and
warnings, but it compiles and it passes the junit tests (although those
don't test exceptions, they only test input and output).

Thanks,
Markus

--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios(at)logi-track(dot)com | www.logi-track.com

--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios(at)logi-track(dot)com | www.logi-track.com

Attachment Content-Type Size
newcopypatch.diff text/plain 18.9 KB

Browse pgsql-jdbc by date

  From Date Subject
Next Message Markus Schaber 2004-06-24 16:44:07 Experimental COPY Helper class
Previous Message Dave Cramer 2004-06-24 15:02:04 Re: JDBC prepared statements: actually not server