Small error in the documentation

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
szinkopa
Posts: 16
Joined: Mon 27 Jun 2005 21:12

Small error in the documentation

Post by szinkopa » Thu 30 Jun 2005 13:05

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.

December
Devart Team
Posts: 13
Joined: Thu 11 Nov 2004 08:02

Post by December » Fri 01 Jul 2005 06:36

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.

Post Reply