Re: Binary Cursors, and the COPY command

Поиск
Список
Период
Сортировка
От Thomas Hallgren
Тема Re: Binary Cursors, and the COPY command
Дата
Msg-id 4106316D.2000605@mailblocks.com
обсуждение исходный текст
Ответ на Re: Binary Cursors, and the COPY command  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-hackers
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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Binary Cursors, and the COPY command
Следующее
От: "Jeroen T. Vermeulen"
Дата:
Сообщение: Re: Binary Cursors, and the COPY command