Re: [PATCHES] Important 7.0.* fix to ensure buffers are released
Re: [PATCHES] Important 7.0.* fix to ensure buffers are released
От:
Tatsuo Ishii <t-ishii@sra.co.jp>
Дата:
[Cc:ed to hackers list] > "Hiroshi Inoue" 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 <tgl@sss.pgh.pa.us>
Дата:
Tatsuo Ishii 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