]> granicus.if.org Git - postgresql/commit
During CatCacheRemoveCList, we must now remove any members that are
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 7 Jan 2006 21:16:10 +0000 (21:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 7 Jan 2006 21:16:10 +0000 (21:16 +0000)
commit7eb5428199fddf69b24e03c85db3e8873cde605d
treee3e1dcc6ae0a96454ac874d4b937e3209023676c
parent0a8510e0f856127ef35706ee1697383b470de9f1
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.
src/backend/utils/cache/catcache.c