]> granicus.if.org Git - postgresql/commit
When compiling with --enable-cassert, check for reference count leaks
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 Aug 2002 22:36:05 +0000 (22:36 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 Aug 2002 22:36:05 +0000 (22:36 +0000)
commit22c64f18349dfba623f9c844363b484475d3c45e
treea4d87182a595ed7a32541d50712da12247f0ba8f
parent154f26ff5960ea11d0d5683dd2a119dc15d01218
When compiling with --enable-cassert, check for reference count leaks
in the relcache.  It's rather silly that we have reference count leak
checks in bufmgr and in catcache, but not in relcache which will normally
have many fewer entries.  Chris K-L would have caught at least one bug
in his recent DROP patch if he'd had this.
src/backend/access/transam/xact.c
src/backend/bootstrap/bootstrap.c
src/backend/utils/cache/relcache.c
src/include/utils/relcache.h