Re: float8 transmitted in ascii

Поиск
Список
Период
Сортировка
От Steven Schlansker
Тема Re: float8 transmitted in ascii
Дата
Msg-id 0A1C3AE4-C08B-4EC7-AF92-0AC2799F24BB@gmail.com
обсуждение исходный текст
Ответ на Re: float8 transmitted in ascii  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-jdbc
On Apr 30, 2015, at 9:36 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Dave Cramer <pg@fastcrypt.com> writes:
>> I'm not convinced it is being transmitted in ASCII. It should not be
>
> Transmission in binary would require an assumption that the server and
> client share identical floating-point representations, which sure sounds
> like a leap of faith from here (or at least blind Intel-centricism).

Why not just specify the binary format as IEEE 754?  Native to many machines,
and probably cheaper to convert than ASCII anyway if it's not native.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: float8 transmitted in ascii
Следующее
От: Jeremy Whiting
Дата:
Сообщение: Resource lookup timeout causes Travis IC to fail test.