Re: The same prepared query yield "-1" the first six times and then "-1.0"

Поиск
Список
Период
Сортировка
От Ron
Тема Re: The same prepared query yield "-1" the first six times and then "-1.0"
Дата
Msg-id 5eced581-3b03-2c51-7bf8-946f34bd968e@gmail.com
обсуждение исходный текст
Ответ на Re: The same prepared query yield "-1" the first six times and then "-1.0"  (Dave Cramer <davecramer@postgres.rocks>)
Ответы Re: The same prepared query yield "-1" the first six times and then "-1.0"
Список pgsql-general
On 8/21/23 14:32, Dave Cramer wrote:
[snip]
It has to do with the way the data is being transferred. When the driver switches to a named statement it also switches to binary mode which means data will be transferred in binary. 

In text we get -1, in binary we get -1.0

That seems odd.  Why does it do that?

--
Born in Arizona, moved to Babylonia.

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: The same prepared query yield "-1" the first six times and then "-1.0"
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: The same prepared query yield "-1" the first six times and then "-1.0"