Fw: COPY Support Patch - actualized version?

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Fw: COPY Support Patch - actualized version?
Дата
Msg-id 20040624183347.221861cf@kingfisher.intern.logi-track.com
обсуждение исходный текст
Список 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@ejurka.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@logi-track.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@logi-track.com | www.logi-track.com

Вложения

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Markus Schaber
Дата:
Сообщение: Experimental COPY Helper class
Следующее
От: "Mark Borins"
Дата:
Сообщение: JDBC connection to postgres via SSL