diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-26 19:17:02 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-26 19:17:02 +0000 |
commit | 1dbf8aa7a8159875bb46f6ee6ab0116eee76869b (patch) | |
tree | 9aa08b4247dc230b6d35aa9c34b488b36b716693 /src/include/utils/relcache.h | |
parent | da631e931f9da4bc5df4bfd39f0c42684adfb8e5 (diff) |
pg_class has a relnamespace column. You can create and access tables
in schemas other than the system namespace; however, there's no search
path yet, and not all operations work yet on tables outside the system
namespace.
Diffstat (limited to 'src/include/utils/relcache.h')
-rw-r--r-- | src/include/utils/relcache.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/utils/relcache.h b/src/include/utils/relcache.h index e5af1bee61b..6e6164b87c8 100644 --- a/src/include/utils/relcache.h +++ b/src/include/utils/relcache.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: relcache.h,v 1.30 2002/02/19 20:11:20 tgl Exp $ + * $Id: relcache.h,v 1.31 2002/03/26 19:16:59 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -20,11 +20,11 @@ * relation lookup routines */ extern Relation RelationIdGetRelation(Oid relationId); -extern Relation RelationNameGetRelation(const char *relationName); -extern Relation RelationNodeCacheGetRelation(RelFileNode rnode); +extern Relation RelationSysNameGetRelation(const char *relationName); /* finds an existing cache entry, but won't make a new one */ extern Relation RelationIdCacheGetRelation(Oid relationId); +extern Relation RelationNodeCacheGetRelation(RelFileNode rnode); extern void RelationClose(Relation relation); @@ -46,8 +46,10 @@ extern void RelationCacheInitializePhase3(void); * Routine to create a relcache entry for an about-to-be-created relation */ extern Relation RelationBuildLocalRelation(const char *relname, + Oid relnamespace, TupleDesc tupDesc, Oid relid, Oid dbid, + RelFileNode rnode, bool nailit); /* |