Re: [Patch] Binary Transfer v12
От | Albe Laurenz |
---|---|
Тема | Re: [Patch] Binary Transfer v12 |
Дата | |
Msg-id | D960CB61B694CF459DCFB4B0128514C202FF6616@exadv11.host.magwien.gv.at обсуждение исходный текст |
Ответ на | Re: [Patch] Binary Transfer v12 (Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>) |
Ответы |
Re: [Patch] Binary Transfer v12
|
Список | pgsql-jdbc |
Mikko Tiihonen wrote: >> Did you test it with both little-endian and big-endian servers? >> With 32-bit and 64-bit servers? > > I have only tested with 64bit amd64 servers. > [...] > > But now you got me wondering... > > The protocol messages itself are well defined, but I cannot find any > documentation about the data value contents because there is no official > documentation. I had to just guess how the values are stored. Based on the data > type byte sizes in database, for example look here: > http://developer.postgresql.org/pgdocs/postgres/datatype-datetime.html Unfortunately I don't know the implementation details. Maybe binary values come as they are on disk, see the note in the COPY documentation: http://developer.postgresql.org/pgdocs/postgres/sql-copy.html I have a (big-endian) AIX machine where I could test it as soon as the patch is in. Is there a convenient test program? Yours, Laurenz Albe
В списке pgsql-jdbc по дате отправления: