pgsql: During CatCacheRemoveCList, we must now remove any members that - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: During CatCacheRemoveCList, we must now remove any members that
Date
Msg-id 20060107211644.2B6F49DCA41@postgresql.org
Whole thread Raw
List 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.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/cache:
        catcache.c (r1.125.2.1 -> r1.125.2.2)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/cache/catcache.c.diff?r1=1.125.2.1&r2=1.125.2.2)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: During CatCacheRemoveCList, we must now remove any members that
Next
From: fxjr@pgfoundry.org (User Fxjr)
Date:
Subject: npgsql - Npgsql: 2006-01-07 Francisco Figueiredo Jr.