diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/utils/inval.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/utils/inval.h b/src/include/utils/inval.h index d2286ed54ef..2d5153ef1d0 100644 --- a/src/include/utils/inval.h +++ b/src/include/utils/inval.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: inval.h,v 1.24 2002/03/03 17:47:56 tgl Exp $ + * $Id: inval.h,v 1.25 2002/04/29 22:14:34 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -17,6 +17,9 @@ #include "access/htup.h" +typedef void (*CacheCallbackFunction) (Datum arg, Oid relid); + + extern void AcceptInvalidationMessages(void); extern void AtEOXactInvalidationMessages(bool isCommit); @@ -27,4 +30,11 @@ extern void CacheInvalidateHeapTuple(Relation relation, HeapTuple tuple); extern void CacheInvalidateRelcache(Oid relationId); +extern void CacheRegisterSyscacheCallback(int cacheid, + CacheCallbackFunction func, + Datum arg); + +extern void CacheRegisterRelcacheCallback(CacheCallbackFunction func, + Datum arg); + #endif /* INVAL_H */ |