| От | Guillaume Yziquel |
|---|---|
| Тема | PQntuples returns an int. |
| Дата | |
| Msg-id | 4B8EA4CC.7010205@citycable.ch обсуждение исходный текст |
| Ответы |
Re: PQntuples returns an int.
Re: PQntuples returns an int. |
| Список | pgsql-general |
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/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера