Re: Number of rows in a cursor ?

From: Bo Lorentsen <bl(at)netgroup(dot)dk>
To: Russell Simpkins <russellsimpkins(at)hotmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Number of rows in a cursor ?
Date: 2005-08-24 12:50:07
Message-ID: 430C6CFF.9070304@netgroup.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Russell Simpkins wrote:

> If you need a count, why not just execute one of the methods to get a
> count. i.e.e select count(id) ...

The reason why i don't just make a count and then a selection of data
is performance.

/BL

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Fuhr 2005-08-24 13:19:22 Re: Number of rows in a cursor ?
Previous Message Joel Fradkin 2005-08-24 12:42:49 Re: SQLException - SET AUTOCOMMIT TO OFF is no longer supported