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

From Alvaro Herrera
Subject Re: [BUGS] Cursor with hold emits the same row more than once across commits in 8.3.7
Date
Msg-id 20090609173851.GG5938@alvh.no-ip.org
Whole thread Raw
In response to Re: [BUGS] Cursor with hold emits the same row more than once across commits in 8.3.7  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas escribió:

> I suppose in theory you could try to figure out whether
> materialization is really necessary (let's see... no seqscans here and
> no volatile functions...  ok, so we can cheat...) but that seems
> likely to lead to future bugs as the rules for which things are safe
> change.

Another thing we could do is disable syncscan if we see a WITH HOLD
cursor, but I guess it's not future-proof either.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Multicolumn index corruption on 8.4 beta 2
Next
From: Tom Lane
Date:
Subject: Re: Not quite a security hole in internal_in