X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F2625329E7E for ; Fri, 15 Oct 2004 19:48:22 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 25989-03 for ; Fri, 15 Oct 2004 18:48:15 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 9ABD9329E61 for ; Fri, 15 Oct 2004 19:48:10 +0100 (BST) Received: (qmail 5192 invoked by uid 1112); 15 Oct 2004 16:01:02 -0000 Date: Fri, 15 Oct 2004 11:01:02 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: David Parker Cc: pgsql-jdbc@postgresql.org Subject: Re: copy to stdout/copy from stdin In-Reply-To: <07FDEE0ED7455A48AC42AC2070EDFF7C0C0E85@corpsrv2.tazznetworks.com> Message-ID: References: <07FDEE0ED7455A48AC42AC2070EDFF7C0C0E85@corpsrv2.tazznetworks.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.2 tagged_above=0.0 required=5.0 tests=HTML_MESSAGE, HTML_TAG_BALANCE_TABLE X-Spam-Level: X-Archive-Number: 200410/166 X-Sequence-Number: 11271 On Fri, 15 Oct 2004, David Parker wrote: > Is it possible to use the "copy to stdout" and "copy
> 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