Re: Use of ActiveSnapshot - Mailing list pgsql-hackers

From Jan Wieck
Subject Re: Use of ActiveSnapshot
Date
Msg-id 4648CDB4.2080507@Yahoo.com
Whole thread Raw
In response to Re: Use of ActiveSnapshot  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 5/14/2007 4:26 PM, Tom Lane wrote:
> Jan Wieck <JanWieck@Yahoo.com> writes:
>> Which means that the 8.3 fix for the reproducible backend crash, I 
>> posted earlier, is to have SPI_cursor_open() save and restore 
>> ActiveSnapshot while calling RevalidateCachedPlan(). I'll cross check 
>> that this fixes this symptom and commit later today.
> 
> No, the correct fix is to do that inside RevalidateCachedPlan ... and I
> already did it.

Works for me. It fixed the Slony test that actually tripped over the 
bug. Thanks.


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Use of ActiveSnapshot
Next
From: Hiroshi Inoue
Date:
Subject: Re: Concurrently updating an updatable view