X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 791615298A for ; Fri, 19 Aug 2005 11:42:29 -0300 (ADT) 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 12185-03 for ; Fri, 19 Aug 2005 14:42:25 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id E996B52E27 for ; Fri, 19 Aug 2005 11:42:24 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j7JEgOOd018288; Fri, 19 Aug 2005 10:42:24 -0400 (EDT) To: Kris Jurka Cc: pgsql-jdbc@postgresql.org Subject: Re: COPY support survey In-reply-to: References: Comments: In-reply-to Kris Jurka message dated "Fri, 19 Aug 2005 02:03:31 -0500" Date: Fri, 19 Aug 2005 10:42:24 -0400 Message-ID: <18287.1124462544@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200508/137 X-Sequence-Number: 13706 Kris Jurka writes: > So the question is what should we do? > 1) Just get the raw stream interface into the official release and let the > end user deal with reading and writing the stream. That's all I'll use > and I don't care about anything else. > 2) Don't give up, get the friendly SQLInput/SQLOutput interface in because > this is what I really want. > 3) Put in the raw stream interface, but keep working to also add the > friendly one. I'll understand if the interface changes and I have to > modify my code a bit. Would it not be possible to do (1) now and leave the door open to add (2) later without breaking existing uses of (1)? That is, I don't see why (3) has to carry a risk of non-backwards-compatibility. Surely you can design non-overlapping APIs for (1) and (2). (Obviously, my vote is for (3).) regards, tom lane