Page 1 of 1

Small error in the documentation

Posted: Thu 30 Jun 2005 13:05
by szinkopa
On the PgSqlCommand.ExecuteScalar() docs page there is an error:
It says: CommandText = "select count(*) as NumberOfRegions from region"; int count = (int) ExecuteScalar();
The conversion does not work in .NET1.1, the result of count() aggregate is int8 type, so it should be Int64 instead of int.

Posted: Fri 01 Jul 2005 06:36
by December
Thank you very much for the information. We have fixed the error. Please feel free to report any more bugs in documentation either here or directly to support e-mail.