mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
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.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: relcache.h,v 1.32 2002/06/20 20:29:53 momjian Exp $
|
||||
* $Id: relcache.h,v 1.33 2002/08/02 22:36:05 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -63,7 +63,7 @@ extern void RelationCacheInvalidate(void);
|
||||
|
||||
extern void RelationPurgeLocalRelation(bool xactComitted);
|
||||
|
||||
extern void RelationCacheAbort(void);
|
||||
extern void AtEOXactRelationCache(bool commit);
|
||||
|
||||
/*
|
||||
* Routines to help manage rebuilding of relcache init file
|
||||
|
Reference in New Issue
Block a user