Re: segfault of autovacuum process during restore - coredumps included

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: segfault of autovacuum process during restore - coredumps included
Дата
Msg-id 20051128221124.GA26501@surnet.cl
обсуждение исходный текст
Ответ на Re: segfault of autovacuum process during restore - coredumps included  (Frank van Vugt <ftm.van.vugt@foxi.nl>)
Ответы Re: segfault of autovacuum process during restore - coredumps included  (Frank van Vugt <ftm.van.vugt@foxi.nl>)
Список pgsql-bugs
Frank van Vugt wrote:
> <TL>
> > No.  There are two StartTransactionCommand calls in autovacuum.c, and
> > what I'm suggesting is to add the ActiveSnapshot assignment after each
> > one.
>
> I've changed autovacuum.c per this diff, I 'hope' I misinterpreted what needed
> to be done (see below):

No, that diff is exactly what I applied.  But I think you must have done
something else wrong, because while I can reproduce the crash easily on
the unpatched tree with your example, it certainly does not crash on CVS
HEAD.

Test case attached for the curious ...

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Frank van Vugt
Дата:
Сообщение: Re: segfault of autovacuum process during restore - coredumps included
Следующее
От: Frank van Vugt
Дата:
Сообщение: Re: segfault of autovacuum process during restore - coredumps included