pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Steve Wampler <swampler@noao.edu>
Cc: Postgres-JDBC <pgsql-jdbc@postgresql.org>
Cc: Postgres-performance <pgsql-performance@postgresql.org>
Subject: Re: Using a COPY...FROM through JDBC?
Date: Mon, 7 Jun 2004 04:26:38 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0406070250280.29634@leary.csoft.net> (raw)
In-Reply-To: <1086466349.29063.76.camel@weaver.tuc.noao.edu>
References: <1086466349.29063.76.camel@weaver.tuc.noao.edu>



On Sat, 5 Jun 2004, Steve Wampler wrote:

> 
> [I want to use copy from JDBC]
> 

I made a patch to the driver to support COPY as a PG extension.  The
patch required properly encoded and formatted copy data available
from an InputStream.  Following some feedback from others I began adding
the ability to handle different encodings and the ability to read and
write objects without requiring any knowledge of the copy data format.  I
got hung up on the object read/write part because of some issues with how
type conversions are done in the driver.

At the moment there is a big push being made by Oliver Jowett to get true 
V3 protocol support implemented which is currently my highest priority.  
Getting copy support into the JDBC driver is something I'd like to see for 
7.5, but I couldn't say if that will happen or how complete it may be.  
Depending on your needs perhaps the initial patch is sufficient.

http://archives.postgresql.org/pgsql-jdbc/2003-12/msg00186.php

Kris Jurka




view thread (7+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0406070250280.29634@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0406070250280.29634@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0406070250280.29634@leary.csoft.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: books@ejurka.com, swampler@noao.edu, pgsql-jdbc@postgresql.org
  Subject: Re: Using a COPY...FROM through JDBC?
  In-Reply-To: <Pine.BSO.4.56.0406070250280.29634@leary.csoft.net>

* 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