Re: Weird behavior with "sensitive" cursors. - Mailing list pgsql-general

From Tom Lane
Subject Re: Weird behavior with "sensitive" cursors.
Date
Msg-id 3787.1254429286@sss.pgh.pa.us
Whole thread Raw
In response to Re: Weird behavior with "sensitive" cursors.  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Weird behavior with "sensitive" cursors.
List pgsql-general
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane escribi�:
>> I don't think that testing rowMarks is the right thing at all here.
>> That tells you whether it's a SELECT FOR UPDATE, but actually we
>> want any cursor (and only cursors) to have a private snapshot.

> The attached patch implements this.  I intend to apply to 8.4 and HEAD
> shortly.

Looks sane.  Can we add a short regression test sequence that checks
for this?

            regards, tom lane

pgsql-general by date:

Previous
From: APseudoUtopia
Date:
Subject: Re: Vacuumdb Fails: Huge Tuple
Next
From: Scott Marlowe
Date:
Subject: Re: Vacuumdb Fails: Huge Tuple