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/catalog/heap.h | |
| parent | da631e931f9da4bc5df4bfd39f0c42684adfb8e5 (diff) | |
| download | postgresql-1dbf8aa7a8159875bb46f6ee6ab0116eee76869b.tar.gz | |
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/catalog/heap.h')
| -rw-r--r-- | src/include/catalog/heap.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/include/catalog/heap.h b/src/include/catalog/heap.h index b2bcfb71bd..eb34ee1404 100644 --- a/src/include/catalog/heap.h +++ b/src/include/catalog/heap.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: heap.h,v 1.46 2002/03/20 19:44:52 tgl Exp $ + * $Id: heap.h,v 1.47 2002/03/26 19:16:23 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -19,6 +19,7 @@ #include "parser/parse_node.h" #include "utils/rel.h" + typedef struct RawColumnDefault { AttrNumber attnum; /* attribute to attach default to */ @@ -26,15 +27,15 @@ typedef struct RawColumnDefault * tree) */ } RawColumnDefault; -extern Oid RelnameFindRelid(const char *relname); - -extern Relation heap_create(char *relname, TupleDesc tupDesc, +extern Relation heap_create(char *relname, Oid relnamespace, + TupleDesc tupDesc, bool istemp, bool storage_create, bool allow_system_table_mods); extern void heap_storage_create(Relation rel); -extern Oid heap_create_with_catalog(char *relname, TupleDesc tupdesc, +extern Oid heap_create_with_catalog(char *relname, Oid relnamespace, + TupleDesc tupdesc, char relkind, bool relhasoids, bool istemp, bool allow_system_table_mods); |
