pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: David Parker <dparker@tazznetworks.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: copy to stdout/copy from stdin
Date: Fri, 15 Oct 2004 11:01:02 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0410151052040.6589@leary.csoft.net> (raw)
In-Reply-To: <07FDEE0ED7455A48AC42AC2070EDFF7C0C0E85@corpsrv2.tazznetworks.com>
References: <07FDEE0ED7455A48AC42AC2070EDFF7C0C0E85@corpsrv2.tazznetworks.com>



On Fri, 15 Oct 2004, David Parker wrote:

> Is it possible to use the "copy <table> to stdout" and "copy <table>
> from stdin" idiom with JDBC?

Not with the standard jdbc driver.  I produced a patch allowing this some 
time ago, but it needs some additional work before it goes into the main 
tree.  I had some big goals of producing a very friendly user interface 
(not just BinaryStreams), but that doesn't look like it's going to happen 
for the 8.0 release.  Perhaps I should go back and revisit the plain 
stream API.

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

Kris Jurka



view thread (2+ messages)

Message-ID: <Pine.BSO.4.56.0410151052040.6589@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0410151052040.6589@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0410151052040.6589@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 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: books@ejurka.com, dparker@tazznetworks.com
  Subject: Re: copy to stdout/copy from stdin
  In-Reply-To: <Pine.BSO.4.56.0410151052040.6589@leary.csoft.net>
  References: <07FDEE0ED7455A48AC42AC2070EDFF7C0C0E85@corpsrv2.tazznetworks.com> <Pine.BSO.4.56.0410151052040.6589@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