Re: Change of format of returned flat value after prepareThreshold - Mailing list pgsql-jdbc

From Vladimir Sitnikov
Subject Re: Change of format of returned flat value after prepareThreshold
Date
Msg-id CAB=Je-G0WFKCq_ngrzsgf_Hw6=StrRs_c7+mNOcxw1-UEECkkw@mail.gmail.com
Whole thread Raw
In response to Re: Change of format of returned flat value after prepareThreshold  (Mikko Tiihonen <Mikko.Tiihonen@nitorcreations.com>)
Responses Re: Change of format of returned flat value after prepareThreshold
List pgsql-jdbc
> OK, but I think string representation of such float should
> not change during program life.

Michal, pull requests are welcome.
Even though I do find that _a bit_ surprising behavior, I do not see
an easy way of fixing it.

> but this jdbc driver feature is
>supposed to be more of a debug feature, because it slows down queries due to needing an extra
>round-trip for each query.

Mikko, binary transfer should not be considered a "debug" feature.

In case the query is executed more than once (that is often happens
when using bind variables), jdbc driver skips prepare phase, it skips
sending query text, and it can use binary for faster encoding.

Vladimir


pgsql-jdbc by date:

Previous
From: Mikko Tiihonen
Date:
Subject: Re: Change of format of returned flat value after prepareThreshold
Next
From: Mikko Tiihonen
Date:
Subject: Re: Change of format of returned flat value after prepareThreshold