Re: Use of ActiveSnapshot

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: Use of ActiveSnapshot
Дата
Msg-id 4648CDB4.2080507@Yahoo.com
обсуждение исходный текст
Ответ на Re: Use of ActiveSnapshot  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Use of ActiveSnapshot
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Concurrently updating an updatable view