Re: cursors

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Hector Galicia <hgaliciac(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: cursors
Date: 2002-09-30 23:41:03
Message-ID: 20020930234103.GA24847@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Sep 30, 2002 at 11:24:06AM -0500, Hector Galicia wrote:
> Hi
> I'm new using postgressql, so my questions is about
> the use of cursors. I'm already know how to define,
> open and assign into a variable, but what I don't know
> is when the cursor is empty. Exist a function that
> tells me when the cursor is empty?

The way I tell is when you do a FETCH <n> and you get less than <n> results
back.

--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> There are 10 kinds of people in the world, those that can do binary
> arithmetic and those that can't.

In response to

  • cursors at 2002-09-30 16:24:06 from Hector Galicia

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2002-09-30 23:46:37 Re: composite types in 7.3
Previous Message Baurjan Ismagulov 2002-09-30 23:39:04 SERIAL with TTable in cbuilder