Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-hackers by date

Next:From: Greg StarkDate: 2009-06-10 22:33:38
Subject: Re: Display of foreign keys in psql
Previous:From: Tom LaneDate: 2009-06-10 22:21:05
Subject: Re: Display of foreign keys in psql

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group