Re: [GENERAL] Oops...

Поиск
Список
Период
Сортировка
От Marcin Grondecki
Тема Re: [GENERAL] Oops...
Дата
Msg-id 37123C8E.2CFF9AA5@mtl.pl
обсуждение исходный текст
Ответ на Oops...  (Mike Frisch <mfrisch@saturn.tlug.org>)
Список pgsql-general
simple - first try "select count(*) from ...",
and then "declare ..." and subsequent fetches.

Mike Frisch napisał(a):
>
> With respect to my previous query, I'd like to clarify that the FETCHes I
> am doing are subsets of the full results (hence I cannot use PQntuples).
> For instance, I am FETCHing 25 records out of a possible 1000, so
> PQntuples() is returning 25.  I need some way of knowing there's a 1000
> total.
>
> Thanks,
>
> Mike.
>
> ======================================================================
>   Mike Frisch                         Email: mfrisch@saturn.tlug.org
>   Northstar Technologies        WWW: http://saturn.tlug.org/~mfrisch
>   Newmarket, Ontario, CANADA
> ======================================================================

--
Marcin Grondecki
ojciec@mtl.pl
(604)468725

*** I'm not a complete idiot - some parts are missing

В списке pgsql-general по дате отправления:

Предыдущее
От: valter
Дата:
Сообщение: pgsql limits
Следующее
От: Rick Henry
Дата:
Сообщение: Re: [GENERAL] Su log in Linux