Re: Binary Cursors, and the COPY command

From: Thomas Hallgren <thhal(at)mailblocks(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Binary Cursors, and the COPY command
Date: 2004-07-27 10:41:49
Message-ID: 4106316D.2000605@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2004-07-27 11:28:55 Re: [HACKERS] Binary Cursors, and the COPY command
Previous Message Oliver Jowett 2004-07-27 10:10:57 Re: Binary Cursors, and the COPY command

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas Hallgren 2004-07-27 11:28:55 Re: [HACKERS] Binary Cursors, and the COPY command
Previous Message Oliver Jowett 2004-07-27 10:10:57 Re: Binary Cursors, and the COPY command