UniDAC 9.0.1 - PostgreSQL Digit Bug!
-
- Posts: 10
- Joined: Fri 12 Feb 2021 10:25
UniDAC 9.0.1 - PostgreSQL Digit Bug!
Hi,
I sent you a support e-mail and I wanted the developers in the forum to know about it. As a result of my research with a report I received from my users 2 days ago, I saw that there was an error originating from UniDAC or PostgreSQL.
To repeat the error;
* Create a table on your PostgreSQL server. Let there be a float field in the table.
* Enter non-integer values into this float field. For example (0.45; 0.050).
* Connect with Delphi and view the data by querying with Query.
* A long digit number 0.450054054 will appear in the data.
9.x [BUG]
8.4.x [BUG]
8.3.x [WORKING]
I discovered that this error appeared after version 8.3.2 and had to revert to version 8.3.2. It's a big problem for our precision computational app. I am waiting for solution.
Thanks.
I sent you a support e-mail and I wanted the developers in the forum to know about it. As a result of my research with a report I received from my users 2 days ago, I saw that there was an error originating from UniDAC or PostgreSQL.
To repeat the error;
* Create a table on your PostgreSQL server. Let there be a float field in the table.
* Enter non-integer values into this float field. For example (0.45; 0.050).
* Connect with Delphi and view the data by querying with Query.
* A long digit number 0.450054054 will appear in the data.
9.x [BUG]
8.4.x [BUG]
8.3.x [WORKING]
I discovered that this error appeared after version 8.3.2 and had to revert to version 8.3.2. It's a big problem for our precision computational app. I am waiting for solution.
Thanks.
Re: UniDAC 9.0.1 - PostgreSQL Digit Bug!
Hello,
It may be the PostgreSQL's specific behaviour.
See: https://www.postgresql.org/docs/10/data ... meric.html
They suggest using Numeric type for constant precision.
Regards
M
It may be the PostgreSQL's specific behaviour.
See: https://www.postgresql.org/docs/10/data ... meric.html
They suggest using Numeric type for constant precision.
Regards
M
-
- Posts: 10
- Joined: Fri 12 Feb 2021 10:25
Re: UniDAC 9.0.1 - PostgreSQL Digit Bug!
Hi,
Data (digit count) are not fixed. If it was PostgreSQL behavior, it should react the same way on the data displayed by PgAdmin. In addition, the fact that I get different outputs in UniDAC versions shows that this situation arises from a problem on the UniDAC side.
Regards.
Data (digit count) are not fixed. If it was PostgreSQL behavior, it should react the same way on the data displayed by PgAdmin. In addition, the fact that I get different outputs in UniDAC versions shows that this situation arises from a problem on the UniDAC side.
Regards.
Re: UniDAC 9.0.1 - PostgreSQL Digit Bug!
Hi guys!
We inform you that we were able to reproduce the issue and fixed it.
This fix will be added to the next build of our product and will be available for all customers.
Kindly note that as temp solution, until new build is not released yet, we can provide you with a nightly build of UniDAC which includes this solution.
To create this build for you, please provide us with your license number and the version of the IDE you are interested in using the contact form https://devart.com/company/contactform.html
You can also use ProtocolVersion = pv20 as a workaround for this problem.
We inform you that we were able to reproduce the issue and fixed it.
This fix will be added to the next build of our product and will be available for all customers.
Kindly note that as temp solution, until new build is not released yet, we can provide you with a nightly build of UniDAC which includes this solution.
To create this build for you, please provide us with your license number and the version of the IDE you are interested in using the contact form https://devart.com/company/contactform.html
You can also use ProtocolVersion = pv20 as a workaround for this problem.
Re: UniDAC 9.0.1 - PostgreSQL Digit Bug!
Hello,
Thanks,
When do you plan the next release ?
Regards
M
Thanks,
When do you plan the next release ?
Regards
M
Re: UniDAC 9.0.1 - PostgreSQL Digit Bug!
Hi.
The fixed version is planned to be released this month.
However, the time frames may slightly increase.
The fixed version is planned to be released this month.
However, the time frames may slightly increase.
Last edited by evgeniym on Tue 08 Feb 2022 13:27, edited 1 time in total.
-
- Posts: 10
- Joined: Fri 12 Feb 2021 10:25
Re: UniDAC 9.0.1 - PostgreSQL Digit Bug!
Hi,
When I tested it with the nightly build, I saw that there was no problem. Problem solved. Thanks for support.
Regards.
When I tested it with the nightly build, I saw that there was no problem. Problem solved. Thanks for support.
Regards.
-
- Posts: 10
- Joined: Fri 12 Feb 2021 10:25
Re: UniDAC 9.0.1 - PostgreSQL Digit Bug!
Hi again,
I discovered a different problem in the test version and reported it by mail. No problem with ProtocolVersion v20. There is a problem when I set it to v30. Since it is specific to the test version, I only shared the details in the mail.
Regards.
I discovered a different problem in the test version and reported it by mail. No problem with ProtocolVersion v20. There is a problem when I set it to v30. Since it is specific to the test version, I only shared the details in the mail.
Regards.
Re: UniDAC 9.0.1 - PostgreSQL Digit Bug!
Hi there,
We are still waiting for a sample to reproduce the issue, as well as DDL scripts to create and populate test database objects.
Please, provide the needed.
We are still waiting for a sample to reproduce the issue, as well as DDL scripts to create and populate test database objects.
Please, provide the needed.
-
- Posts: 10
- Joined: Fri 12 Feb 2021 10:25
Re: UniDAC 9.0.1 - PostgreSQL Digit Bug!
Hi,
I tried to reproduce the problem in a new project tonight but I couldn't reproduce it.
Having this error in my current project may be caused by too many parameters.
There doesn't seem to be a problem for now. If I catch the relevant parameter in my current project, I will contact you again with the relevant resources in the new project.
Regards.
I tried to reproduce the problem in a new project tonight but I couldn't reproduce it.
Having this error in my current project may be caused by too many parameters.
There doesn't seem to be a problem for now. If I catch the relevant parameter in my current project, I will contact you again with the relevant resources in the new project.
Regards.
Re: UniDAC 9.0.1 - PostgreSQL Digit Bug!
Hi!
Ok, sure.
Feel free to contact us any time in case of any questions!
Regards.
Ok, sure.
Feel free to contact us any time in case of any questions!
Regards.