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

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: The same prepared query yield "-1" the first six times and then "-1.0"
Date: 2023-08-21 20:00:31
Message-ID: 5eced581-3b03-2c51-7bf8-946f34bd968e@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dave Cramer 2023-08-21 21:31:06 Re: The same prepared query yield "-1" the first six times and then "-1.0"
Previous Message Dave Cramer 2023-08-21 19:37:37 Re: The same prepared query yield "-1" the first six times and then "-1.0"