Sometimes wong value

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Locked
Tommy

Sometimes wong value

Post by Tommy » Mon 06 Jun 2005 02:59

I use version 2.10.6 .

It garbles sometimes. (not always)

ex)
Dim dbCmd As New CoreLab.PostgreSql.PgSqlCommand
dbCmd.CommandText = "SELECT MAX(PERSON_ID) FROM TBL_PERSON ;"
dbCmd.ExecuteScalar()
The answer is '001'. but dbCmd.ExecuteScalar() answer '001x'.

I used version 2.10.4 - 2.10.6 , same situation....
I don't know why.

postgreSQL 8.0.2 encoding:EUC_JP

Yuri
Posts: 140
Joined: Mon 08 Nov 2004 12:07

Sometimes wong value

Post by Yuri » Mon 06 Jun 2005 12:37

It's known problem and we've already fixed it.

This question has already been discussed in the forum.
Please see topic IDataReader getInt32 still returns wrong values

Locked