pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ritchie turner <ritchie@ipowerhouse.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: COPY support
Date: Wed, 19 Nov 2003 05:13:51 -0500
Message-ID: <200311190513.52157.ritchie@ipowerhouse.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0311172318130.13463-100000@leary.csoft.net>
References: <Pine.LNX.4.33.0311172318130.13463-100000@leary.csoft.net>


Thanks for the info Kris, I suspected that may be the case.

Cheers

Ritchie

On Monday 17 November 2003 23:25, Kris Jurka wrote:
> On Mon, 17 Nov 2003, ritchie turner wrote:
> > I'm trying to optimise some sql inserts I have by using the COPY command
> > instead. I'm connecting from Java using 7.4 beta 3.  It works at the
> > command line, but I can't get it to work from Java. I'm doing an
> > executeUpdate() on the COPY string below in the hope it works, but ....
>
> COPY requires special protocol level support so this won't work.
>
> > I see there was some traffic on this list regard special copy support in
> > the driver, did it make it in? Can't see it.
>
> In February of last year Michael Adler made a patch to support copy, but
> it was rejected because the copy protocol was broken and a bad copy would
> completely hose your Connection.  With the new V3 protocol in 7.4 it makes
> copy errors recoverable so it can be implemented safely.  It's on my todo
> list to update his patch for the current driver, but I haven't gotten to
> it.
>
> Kris Jurka
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster




view thread (5+ messages)  latest in thread

Message-ID: <200311190513.52157.ritchie@ipowerhouse.com>
Permalink:  ../200311190513.52157.ritchie@ipowerhouse.com/
Also on:    postgresql.org/message-id/200311190513.52157.ritchie@ipowerhouse.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: ritchie@ipowerhouse.com, books@ejurka.com
  Subject: Re: COPY support
  In-Reply-To: <200311190513.52157.ritchie@ipowerhouse.com>
  References: <Pine.LNX.4.33.0311172318130.13463-100000@leary.csoft.net> <200311190513.52157.ritchie@ipowerhouse.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox