|
|
Home » U++ Library support » U++ SQL » Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part! [message #47532 is a reply to message #47531] |
Wed, 25 January 2017 20:40 |
|
mirek
Messages: 13979 Registered: November 2005
|
Ultimate Member |
|
|
sergeynikitin wrote on Wed, 25 January 2017 20:31I'll try to prepare test case tonight .
You do not understand...
I need to know what your PostgreSQL instance returns (before atof), so that I am sure we are doing the right fix.
Because very likely the problem is that your PostgreSQL is configured somehow differently than my PostgreSQL.
So pretty please, place DUMP(s) before atof (or ScanDouble), like
switch(info[i].type)
{
case INT64_V:
f.SetValue(ScanInt64(s));
break;
case INT_V:
f.SetValue(atoi(s));
break;
case DOUBLE_V:
DUMP(s);
f.SetValue(ScanDouble(s));
break;
then post here a log (a couple of lines is enough).
Thanks,
Mirek
[Updated on: Wed, 25 January 2017 20:48] Report message to a moderator
|
|
|
|
|
Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
By: unodgs on Mon, 23 January 2017 07:34
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
By: Klugier on Mon, 23 January 2017 09:38
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
By: mirek on Wed, 25 January 2017 11:30
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
By: Klugier on Wed, 25 January 2017 18:42
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
By: mirek on Wed, 25 January 2017 19:02
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
By: mirek on Wed, 25 January 2017 19:49
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
By: mirek on Wed, 25 January 2017 20:40
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
By: mirek on Thu, 26 January 2017 14:10
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
By: mirek on Thu, 26 January 2017 15:01
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
By: mirek on Thu, 26 January 2017 09:09
|
|
|
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
By: Klugier on Wed, 25 January 2017 19:03
|
Goto Forum:
Current Time: Mon May 13 08:58:47 CEST 2024
Total time taken to generate the page: 0.02664 seconds
|
|
|