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

From Tom Lane
Subject Re: [BUGS] Cursor with hold emits the same row more than once across commits in 8.3.7
Date
Msg-id 8133.1244654179@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] Cursor with hold emits the same row more than once across commits in 8.3.7  (Jaime Casanova <jcasanov@systemguards.com.ec>)
Responses Re: [BUGS] Cursor with hold emits the same row more than once across commits in 8.3.7  (Mark Kirkwood <mark.kirkwood@catalyst.net.nz>)
List pgsql-hackers
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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgindent run coming
Next
From: Ana Carolina Brito de Almeida
Date:
Subject: PlannerInfo Structure