Re: Binary Cursors, and the COPY command

Поиск
Список
Период
Сортировка
От Thomas Hallgren
Тема Re: Binary Cursors, and the COPY command
Дата
Msg-id ce4t7l$pas$2@sea.gmane.org
обсуждение исходный текст
Ответ на Re: Binary Cursors, and the COPY command  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: Binary Cursors, and the COPY command
Список pgsql-hackers
Oliver Jowett wrote:> This is not true if you happen to be using Java on the client side,> which has no idea (unless
yougrot around in the guts of the JVM) what> the native byte order is.>
 
The method java.nio.ByteOrder.nativeOrder() will tell you what the 
native byte order is.
> This actually means that Java clients have the> opposite problem -- it's a lot of work to try to use the 7.3-style>
binaryformats.>
 
The commonly used java.io.DataInput will always use network order but 
it's easy enough to read/write little endian using the java.nio and 
java.nio.channel packages.

Regards,

Thomas Hallgren



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: cvsweb upgraded
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Binary Cursors, and the COPY command