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 9F44F52C3A for ; Fri, 19 Aug 2005 11:59:47 -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 30788-10 for ; Fri, 19 Aug 2005 14:59:44 +0000 (GMT) Received: from hogranch.com (hogranch.com [66.117.128.240]) by svr1.postgresql.org (Postfix) with ESMTP id 778EF52C34 for ; Fri, 19 Aug 2005 11:59:42 -0300 (ADT) Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id j7JExXs30186; Fri, 19 Aug 2005 07:59:33 -0700 Message-ID: <4305F3D4.1000306@hogranch.com> Date: Fri, 19 Aug 2005 07:59:32 -0700 From: John R Pierce User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: pgsql-jdbc@postgresql.org Subject: Re: COPY support survey References: <18287.1124462544@sss.pgh.pa.us> In-Reply-To: <18287.1124462544@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean 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/139 X-Sequence-Number: 13708 > 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).) indeed, from a systems engineering viewpoint, thats the correct solution. (1) is a sort of COPY RAW function, while (2) is more java-like. OTOH, if there's no Java standard for a JDBC mechanism like (2), it becomes tougher to justify.