Обсуждение: Re: [PATCHES] Important 7.0.* fix to ensure buffers are released

Поиск
Список
Период
Сортировка

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

От
Tatsuo Ishii
Дата:
[Cc:ed to hackers list]

> "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.

Are you going to make a back patch for the 7.0 tree?
--
Tatsuo Ishii


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

От
Tom Lane
Дата:
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
>> Anyway, I've added an AbortOutOfAnyTransaction() call to postgres.c,
>> so the behavior should be more straightforward now.

> Are you going to make a back patch for the 7.0 tree?

I did.  See starting message of this thread ...
        regards, tom lane