Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group