PQntuples return type
- From: "Luca Ciciriello" <luca_ciciriello(at)hotmail(dot)com>
- To: pgsql-general(at)postgresql(dot)org
- Subject: PQntuples return type
- Date: Mon, 30 Jul 2007 10:33:55 +0100
- Message-id: <BAY114-F92E9E166A0270B81026759AEE0(at)phx(dot)gbl>
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
Home |
Main Index |
Thread Index