diff options
| author | Vadim B. Mikheev <vadim4o@yahoo.com> | 2000-10-16 14:52:28 +0000 |
|---|---|---|
| committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 2000-10-16 14:52:28 +0000 |
| commit | 2c7de17b075baf7be270acf4d541bd4b17047e4c (patch) | |
| tree | c9b7aff45678be41380551d87b6168f317064934 /src/include/catalog/catalog.h | |
| parent | 07a55ebf646eb244f52afc11fcca189b0d006970 (diff) | |
| download | postgresql-2c7de17b075baf7be270acf4d541bd4b17047e4c.tar.gz | |
New file naming. Database OID is used as "tablespace" id and
relation OID is used as file node on creation but may be changed later
if required. Regression Tests Approved (c) -:)))
Diffstat (limited to 'src/include/catalog/catalog.h')
| -rw-r--r-- | src/include/catalog/catalog.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/catalog/catalog.h b/src/include/catalog/catalog.h index 5ed346681c..b1d51d520d 100644 --- a/src/include/catalog/catalog.h +++ b/src/include/catalog/catalog.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: catalog.h,v 1.12 2000/04/12 17:16:27 momjian Exp $ + * $Id: catalog.h,v 1.13 2000/10/16 14:52:26 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -16,9 +16,18 @@ #include "access/tupdesc.h" +#ifdef OLD_FILE_NAMING + extern char *relpath(const char *relname); extern char *relpath_blind(const char *dbname, const char *relname, Oid dbid, Oid relid); +#else +#include "storage/relfilenode.h" + +extern char *relpath(RelFileNode rnode); +extern char *GetDatabasePath(Oid tblNode); +#endif + extern bool IsSystemRelationName(const char *relname); extern bool IsSharedSystemRelationName(const char *relname); extern Oid newoid(void); |
