IDataReader getInt32 still returns wrong values

IDataReader getInt32 still returns wrong values

Postby kolya » Tue 31 May 2005 13:30

The getInt32() method of IDataReader (implemented by PgSqlDataReader) returns wrong values. Even though the db field is of type int32, the correct values can only be read if getInt64() is used. If the IDataReader object is casted to PgSqlDataReader, the problem does not occur.

Regards,
kolya
kolya
 

Postby Yuri » Tue 31 May 2005 15:38

Please specify what is the version of PostgreSQL server you use.
Yuri
 
Posts: 140
Joined: Mon 08 Nov 2004 12:07

Postby kolya » Tue 31 May 2005 16:52

I use PostgreSQL 8.0.0. and check the data type of the db fields programatically via
string fieldType = idr.GetFieldType(i).FullName;
kolya
 

Postby Yuri » Thu 02 Jun 2005 07:29

We reproduced your problem and fixed it. This fix will be included in the next PostgreSQLDirect .NET build. It will be available in about two weeks.
Yuri
 
Posts: 140
Joined: Mon 08 Nov 2004 12:07


Return to dotConnect for PostgreSQL