X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 23679D1B57D for ; Tue, 27 Jul 2004 06:45:35 -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 10725-01 for ; Tue, 27 Jul 2004 09:45:33 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by svr1.postgresql.org (Postfix) with ESMTP id DF34FD1B169 for ; Tue, 27 Jul 2004 06:45:30 -0300 (ADT) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BpOWV-0007cm-00 for ; Tue, 27 Jul 2004 11:45:31 +0200 Received: from 212.209.14.34 ([212.209.14.34]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jul 2004 11:45:27 +0200 Received: from thhal by 212.209.14.34 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jul 2004 11:45:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-hackers@postgresql.org From: "Thomas Hallgren" Subject: Re: Binary Cursors, and the COPY command Date: Tue, 27 Jul 2004 11:39:54 +0200 Lines: 29 Message-ID: References: <10519.64.119.142.34.1090863707.squirrel@mail.mohawksoft.com> <410574F9.9020103@opencloud.com> <4105FF43.40508@opencloud.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 212.209.14.34 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.8 tagged_above=0.0 required=5.0 tests=PRIORITY_NO_NAME X-Spam-Level: X-Archive-Number: 200407/1295 X-Sequence-Number: 56856 "Oliver Jowett" wrote in message news:4105FF43.40508@opencloud.com... > NIO is not present before JDK 1.4. The JDBC driver, at least, needs to > support earlier JVMs. > Clients only capable of network order (such as a Java 1.3 based JDBC driver) must of course be supported still. No argument there. My objection was to your general statement that "Java has no idea what the native byte order is". Another more philosophical question (more suitable on the jdbc list) is when the Java 1.3 support should be limited (or perhaps discontinued altogether) so that further development can exploit everything that 1.4 provides. After all, it's been around for more than 2 years now. AFAIK, the early bugs forcing you to cling on to the 1.3 have been fixed a long time ago. Doesn't the current 3.0 driver make use of features from the Java 1.4 version of java.sql already? > The problem with using native byte orderings is not the byte ordering > itself, but that the order is unpredictable -- at best, you have to > implement code to handle both orders, and at worst you have to just take > a guess and hope you were right.. > Sure, but those problems are present regardless of implementation language. Regards, Thomas Hallgren