diff options
| author | Hiroshi Inoue <inoue@tpf.co.jp> | 1999-11-04 08:01:09 +0000 |
|---|---|---|
| committer | Hiroshi Inoue <inoue@tpf.co.jp> | 1999-11-04 08:01:09 +0000 |
| commit | 2e2189a568e551e97180a8575bdbe320b3947b34 (patch) | |
| tree | 0932a058fad004c0d5b699e15d0d1f66a01be52f /src/include/catalog/heap.h | |
| parent | a2c834f709e6841a1eef360f40448167b6f58208 (diff) | |
| download | postgresql-2e2189a568e551e97180a8575bdbe320b3947b34.tar.gz | |
Make it possible to execute crashed CREATE/DROP commands again.
Now indexes of pg_class and pg_type are unique indexes
and guarantee the uniqueness of correponding attributes.
heap_create() was changed to take another boolean parameter
which allows to postpone the creation of disk file.
The name of rd_nonameunlinked was changed to rd_unlinked.
It is used generally(not only for noname relations) now.
Requires initdb.
Diffstat (limited to 'src/include/catalog/heap.h')
| -rw-r--r-- | src/include/catalog/heap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/catalog/heap.h b/src/include/catalog/heap.h index 1cb86b501c..9d311038cb 100644 --- a/src/include/catalog/heap.h +++ b/src/include/catalog/heap.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: heap.h,v 1.24 1999/10/26 03:12:37 momjian Exp $ + * $Id: heap.h,v 1.25 1999/11/04 08:01:04 inoue Exp $ * *------------------------------------------------------------------------- */ @@ -23,7 +23,8 @@ typedef struct RawColumnDefault extern Oid RelnameFindRelid(char *relname); extern Relation heap_create(char *relname, TupleDesc att, - bool isnoname, bool istemp); + bool isnoname, bool istemp, bool storage_create); +extern bool heap_storage_create(Relation rel); extern Oid heap_create_with_catalog(char *relname, TupleDesc tupdesc, char relkind, bool istemp); |
