Re: [BUGS] Cursor with hold emits the same row more than once across commits in 8.3.7 - Mailing list pgsql-hackers

From Mark Kirkwood
Subject Re: [BUGS] Cursor with hold emits the same row more than once across commits in 8.3.7
Date
Msg-id 4A3034BC.2030906@catalyst.net.nz
Whole thread Raw
In response to Re: [BUGS] Cursor with hold emits the same row more than once across commits in 8.3.7  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Given that RC freeze is nearly upon us for 8.4, and that we need a
> reasonably non-invasive fix for 8.3 anyway, I propose that for now
> we just deal with the syncscan issue by tweaking heap_rescan so that
> rs_startblock doesn't get changed.  It looks like that's about a
> three-line patch.  The question of how cursors should behave with
> respect to volatile functions can be documented and left for another
> time.
>   

Sounds like a good approach.

Mark


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Display of foreign keys in psql
Next
From: Greg Stark
Date:
Subject: Re: Display of foreign keys in psql