Re: Important 7.0.* fix to ensure buffers are released

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Important 7.0.* fix to ensure buffers are released
Дата
Msg-id 9716.968162221@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: Important 7.0.* fix to ensure buffers are released  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-patches
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> One of the reason why we see the bug often in 7.0 seems to be
> the following change which was applied to temprel.c before 7.0.
> remove_all_temp_relations() always called AbortOutAnyTransaction()
> before the change.

Bingo!  So actually there was an abort-transaction call buried in the
shutdown process.  I wondered why we didn't see more problems...

Anyway, I've added an AbortOutOfAnyTransaction() call to postgres.c,
so the behavior should be more straightforward now.

            regards, tom lane

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

Предыдущее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: Important 7.0.* fix to ensure buffers are released
Следующее
От: Alfred Perlstein
Дата:
Сообщение: Re: [HACKERS] disallow LOCK on a view - the Tom Lane remix