Re: [HACKERS] Cursor with hold emits the same row more than once across commits in 8.3.7

From: Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Cursor with hold emits the same row more than once across commits in 8.3.7
Date: 2009-06-10 22:33:32
Message-ID: 4A3034BC.2030906@catalyst.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message ALEC TEBBUTT 2009-06-10 22:44:24 BUG #4850: install of PostGIS password error
Previous Message Tom Lane 2009-06-10 21:25:00 Re: Re: patch to fix configure(.in) on openbsd wrt/ krb5/com_err and readline linking

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2009-06-10 22:33:38 Re: Display of foreign keys in psql
Previous Message Tom Lane 2009-06-10 22:21:05 Re: Display of foreign keys in psql