Re: Cursor not getting all rows - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Cursor not getting all rows
Date
Msg-id 1116352977.22291.133.camel@state.g2switchworks.com
Whole thread Raw
In response to Re: Cursor not getting all rows  (Joseph Shraibman <jks@selectacast.net>)
List pgsql-general
On Tue, 2005-05-17 at 12:49, Joseph Shraibman wrote:
> Scott Marlowe wrote:
>
> > Only if you set transaction isolation to serializable.
>
> So am I getting data that was updated up until the time of the FETCH or
> the DECLARE CURSOR?

The data shouldn't change between the declare and the fetch, it's
between the count(*) and the declare that it can change.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Cursor not getting all rows
Next
From: "David Parker"
Date:
Subject: explicit cursor vs. for loop in pl/pgsql