pgsql: During CatCacheRemoveCList, we must now remove any members that

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: During CatCacheRemoveCList, we must now remove any members that
Date: 2006-01-07 21:16:11
Message-ID: 20060107211611.7FC819DC82F@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
During CatCacheRemoveCList, we must now remove any members that are
dead and have become unreferenced. Before 8.1, such members were left
for AtEOXact_CatCache() to clean up, but now AtEOXact_CatCache isn't
supposed to have anything to do. In an assert-enabled build this bug
leads to an assertion failure at transaction end, but in a non-assert
build the dead member is effectively just a small memory leak.
Per report from Jeremy Drake.

Modified Files:
--------------
pgsql/src/backend/utils/cache:
catcache.c (r1.126 -> r1.127)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/cache/catcache.c.diff?r1=1.126&r2=1.127)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-01-07 21:16:44 pgsql: During CatCacheRemoveCList, we must now remove any members that
Previous Message Andrew Dunstan 2006-01-07 15:12:34 Re: write on screen