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/utils/rel.h | |
parent | a2c834f709e6841a1eef360f40448167b6f58208 (diff) | |
download | postgresql-2e2189a568e551e97180a8575bdbe320b3947b34.tar.gz postgresql-2e2189a568e551e97180a8575bdbe320b3947b34.zip |
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/utils/rel.h')
-rw-r--r-- | src/include/utils/rel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index 308f9a6d645..28ea74c5e2b 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: rel.h,v 1.27 1999/09/29 16:06:28 wieck Exp $ + * $Id: rel.h,v 1.28 1999/11/04 08:01:09 inoue Exp $ * *------------------------------------------------------------------------- */ @@ -78,7 +78,7 @@ typedef struct RelationData bool rd_myxactonly; /* rel uses the local buffer mgr */ bool rd_isnailed; /* rel is nailed in cache */ bool rd_isnoname; /* rel has no name */ - bool rd_nonameunlinked; /* noname rel already unlinked */ + bool rd_unlinked; /* rel already unlinked or not created yet */ Form_pg_am rd_am; /* AM tuple */ Form_pg_class rd_rel; /* RELATION tuple */ Oid rd_id; /* relation's object id */ |