Re: [GENERAL] Oops... - Mailing list pgsql-general

From Marcin Grondecki
Subject Re: [GENERAL] Oops...
Date
Msg-id 37123C8E.2CFF9AA5@mtl.pl
Whole thread Raw
In response to Oops...  (Mike Frisch <mfrisch@saturn.tlug.org>)
List 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 by date:

Previous
From: valter
Date:
Subject: pgsql limits
Next
From: Rick Henry
Date:
Subject: Re: [GENERAL] Su log in Linux