Hi all, there is problem with dotconnect for postgresql
Product: dotConnect for PostgreSQL
Product Version: 5.80 Express
OS Version: Windows 7
Platform: x64
I have a table with numeric(32) column. This column contains value "79228162514264337593543950334". Then i execute next code:
using (var connection = new PgSqlConnection(connectionString))
{
connection.Open();
var c = connection.CreateCommand();
c.UnpreparedExecute = true;
c.CommandText = @"SELECT propdecimal FROM test;";
using (IDataReader dr = c.ExecuteReader())
{
dr.Read();
var value = dr.GetDecimal(0);
}
}
And value variable contains "1918751186264337593543950334". If i execute this query without c.UnpreparedExecute = true; then everything goes fine.
Server version: "PostgreSQL 9.1.3, compiled by Visual C++ build 1500, 64-bit"
Is it bug?
Problem with UnpreparedExecute and Decimal value
Re: Problem with UnpreparedExecute and Decimal value
I've get response from support. This bug is fixed and will be available for download soon.
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: Problem with UnpreparedExecute and Decimal value
The new build of dotConnect for PostgreSQL 6.0 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/postgr ... nload.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?t=24182
It can be downloaded from http://www.devart.com/dotconnect/postgr ... nload.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?t=24182