Re: Copy Command

From: Kris Jurka <books(at)ejurka(dot)com>
To: James Brittle <jamesbrittle(at)hotmail(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Copy Command
Date: 2003-09-08 14:35:31
Message-ID: Pine.LNX.4.33.0309081032440.31647-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Mon, 8 Sep 2003, James Brittle wrote:

> I was just wondering if the ability to use the Copy command is available. I
> have read many messages regarding ways people were trying to get it working,
> which date back to 2002.
>
> Any help on how to use the Copy command specifically regarding from stdin
> would be great. For instance is a Statement simply executed, with the Copy
> command line and the stdin data lines.
>

Michael Adler produced a patch that allowed the use of copy via JDBC in
February or so of this year. My objection to it at the time was that the
frontend/backend protocol could not recover from errors and the connection
had to be aborted if anything went wrong. With the new V3 protocol this
had been fixed, so perhaps I'll take a look at resurrecting that patch.

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Richard Welty 2003-09-08 18:31:35 Re: Resultset funnies...
Previous Message Zak McGregor 2003-09-08 14:20:07 Re: Resultset funnies...