Hi All.
My question is simple: can the function PQntuples returns a negative integer? I've found in the PostgreSQL manual the following definition:

Returns the number of rows (tuples) in the query result.
int PQntuples(const PGresult *res);

So, my doubt is: if the return type is int instead of unsigned int, is this function testable for negative return values?

Thanks in advance.

Luca

_________________________________________________________________
The next generation of Hotmail is here!  http://www.newhotmail.co.uk


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

Reply via email to