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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
Cc: t-ishii(at)sra(dot)co(dot)jp, pgsql-patches(at)postgreSQL(dot)org
Subject: Re: Important 7.0.* fix to ensure buffers are released
Date: 2000-09-05 13:57:01
Message-ID: 9716.968162221@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

"Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2000-09-05 14:29:22 Re: A fine point about OUTER JOIN semantics
Previous Message Finn Kettner 2000-09-05 13:56:36 Visual Studio 6 project/workspace files

Browse pgsql-patches by date

  From Date Subject
Next Message Tatsuo Ishii 2000-09-06 08:17:06 Re: [PATCHES] Important 7.0.* fix to ensure buffers are released
Previous Message Hiroshi Inoue 2000-09-05 08:51:15 RE: Important 7.0.* fix to ensure buffers are released