Re: number of rows in a cursor - Mailing list pgsql-general

From Michael Fuhr
Subject Re: number of rows in a cursor
Date
Msg-id 20050307171027.GA28398@winnie.fuhr.org
Whole thread Raw
In response to number of rows in a cursor  ("FERREIRA William (COFRAMI)" <william.ferreira@airbus.com>)
List pgsql-general
On Mon, Mar 07, 2005 at 05:06:19PM +0100, FERREIRA William (COFRAMI) wrote:

> is it possible to know the number of rows into a cursor ? does any function
> exists ?

Not without scanning the result.  See previous discussion:

http://archives.postgresql.org/pgsql-general/2005-01/msg01264.php
http://archives.postgresql.org/pgsql-general/2005-01/msg01312.php

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: LIMIT and him usage
Next
From: Hugo Takada
Date:
Subject: Restoring db objects , help needed