Re: [GENERAL] Oops...

From: Marcin Grondecki <ojciec(at)mtl(dot)pl>
To: Mike Frisch <mfrisch(at)saturn(dot)tlug(dot)org>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Oops...
Date: 1999-04-12 18:33:50
Message-ID: 37123C8E.2CFF9AA5@mtl.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)saturn(dot)tlug(dot)org
> Northstar Technologies WWW: http://saturn.tlug.org/~mfrisch
> Newmarket, Ontario, CANADA
> ======================================================================

--
Marcin Grondecki
ojciec(at)mtl(dot)pl
(604)468725

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

In response to

  • Oops... at 1999-04-10 16:33:27 from Mike Frisch

Browse pgsql-general by date

  From Date Subject
Next Message Rick Henry 1999-04-12 21:58:19 Re: [GENERAL] Su log in Linux
Previous Message valter 1999-04-12 18:06:15 pgsql limits