pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Hallgren <thhal@mailblocks.com>
To: pgsql-hackers@postgresql.org
Subject: Re: Binary Cursors, and the COPY command
Date: Tue, 27 Jul 2004 11:39:54 +0200
Message-ID: <ce587j$ga1$1@sea.gmane.org> (raw)
References: <10519.64.119.142.34.1090863707.squirrel@mail.mohawksoft.com>
	<410574F9.9020103@opencloud.com>
	<ce4t7l$pas$2@sea.gmane.org>
	<4105FF43.40508@opencloud.com>

"Oliver Jowett" <oliver@opencloud.com> 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





view thread (15+ messages)  latest in thread

Message-ID: <ce587j$ga1$1@sea.gmane.org>
Permalink:  ../ce587j$ga1$1@sea.gmane.org/
Also on:    postgresql.org/message-id/ce587j$ga1$1@sea.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: thhal@mailblocks.com, pgsql-hackers@postgresql.org
  Subject: Re: Binary Cursors, and the COPY command
  In-Reply-To: <ce587j$ga1$1@sea.gmane.org>
  References: <10519.64.119.142.34.1090863707.squirrel@mail.mohawksoft.com> <410574F9.9020103@opencloud.com> <ce4t7l$pas$2@sea.gmane.org> <4105FF43.40508@opencloud.com> <ce587j$ga1$1@sea.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox