Re: Number of items in a cursor...

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Cristian Prieto <cristian(at)clickdiario(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Number of items in a cursor...
Date: 2005-11-15 17:43:11
Message-ID: 200511151743.jAFHhBU08686@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Cristian Prieto wrote:
> Is there any way to get the numbers of items inside a cursor?

I can't see a way to do it except to do a FETCH ALL and count the
returned rows.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bob Pawley 2005-11-15 17:53:29 Re: Is it databases in general, SQL or Postgresql?
Previous Message Alban Hertroys 2005-11-15 17:42:40 Re: Is it databases in general, SQL or Postgresql?