Search Postgresql Archives

PQntuples returns an int.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

I've been looking at the PQntuples function, in section 29.3.2. 'Retrieving query result information' of

	http://www.postgresql.org/docs/8.2/interactive/libpq-exec.html

The declaration is:

int PQntuples(const PGresult *res);

I'm wondering: why the 'int'? why not a 'long int', or an 'unsigned int', or whatever?

I'm asking this because I'm wondering whether you could have more tuples in the result of a query than could be indexed by the 'int' type. May this happen?

All the best,

--
     Guillaume Yziquel
http://yziquel.homelinux.org/

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux