From: Thomas Hallgren <thhal@mailblocks.com>
To: pgsql-hackers@postgresql.org
Subject: Re: Binary Cursors, and the COPY command
Date: Tue, 27 Jul 2004 12:41:49 +0200
Message-ID: <4106316D.2000605@mailblocks.com> (raw)
In-Reply-To: <41062A31.7000800@opencloud.com>
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>
<41062A31.7000800@opencloud.com>
Oliver Jowett wrote:
> I suppose so. I'd point out that the NIO byteorder info is really just
> an optimization hint -- the rest of the NIO API is byteorder agnostic,
> regardless of what the native byteorder is.
>
The rest of the NIO API is not agnostic. A java.nio.ByteBuffer is big
endian by default and can be changed using the order method. This is the
mechanism you'd use to implement I/O that can handle either endian type.
Regards,
Thomas Hallgren
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: <4106316D.2000605@mailblocks.com>
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> <41062A31.7000800@opencloud.com> <4106316D.2000605@mailblocks.com>
* 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