Re: copy to stdout/copy from stdin

Lists: pgsql-jdbc
From: "David Parker" <dparker(at)tazznetworks(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: copy to stdout/copy from stdin
Date: 2004-10-15 15:36:01
Message-ID: 07FDEE0ED7455A48AC42AC2070EDFF7C0C0E85@corpsrv2.tazznetworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

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

- DAP
======================================================
David Parker Tazz Networks (401) 709-5130

"Do" or "Don't Do": there is no "Try".
- Yoda


From: Kris Jurka <books(at)ejurka(dot)com>
To: David Parker <dparker(at)tazznetworks(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: copy to stdout/copy from stdin
Date: 2004-10-15 16:01:02
Message-ID: Pine.BSO.4.56.0410151052040.6589@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

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