summaryrefslogtreecommitdiff
path: root/src/include/utils/relcache.h
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>2000-10-23 04:10:24 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>2000-10-23 04:10:24 +0000
commit4b65a2840b124b881ce4f260f9cc35927863b2ae (patch)
tree0b4f2cb3b57ca6246d450984401d72a9eabebc62 /src/include/utils/relcache.h
parentc82c9559a771f58dc42ce93f227cccd368eb46e6 (diff)
New relcache hash table with RelFileNode as key to be used
from bufmgr - it would be nice to have separate hash in smgr for node <--> fd mappings, but for the moment it's easy to add new hash to relcache. Fixed small bug in xlog.c:ReadRecord.
Diffstat (limited to 'src/include/utils/relcache.h')
-rw-r--r--src/include/utils/relcache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/relcache.h b/src/include/utils/relcache.h
index a2a2b5eb777..fc15ed5b19c 100644
--- a/src/include/utils/relcache.h
+++ b/src/include/utils/relcache.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: relcache.h,v 1.21 2000/08/06 04:39:55 tgl Exp $
+ * $Id: relcache.h,v 1.22 2000/10/23 04:10:24 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,6 +21,7 @@
*/
extern Relation RelationIdGetRelation(Oid relationId);
extern Relation RelationNameGetRelation(const char *relationName);
+extern Relation RelationNodeCacheGetRelation(RelFileNode rnode);
/* finds an existing cache entry, but won't make a new one */
extern Relation RelationIdCacheGetRelation(Oid relationId);