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/backend/executor/execAmi.c | |
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/backend/executor/execAmi.c')
-rw-r--r-- | src/backend/executor/execAmi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/execAmi.c b/src/backend/executor/execAmi.c index 9c1b7b8bb41..dc69953e210 100644 --- a/src/backend/executor/execAmi.c +++ b/src/backend/executor/execAmi.c @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: execAmi.c,v 1.42 1999/09/18 19:06:47 tgl Exp $ + * $Id: execAmi.c,v 1.43 1999/11/04 08:00:57 inoue Exp $ * *------------------------------------------------------------------------- */ @@ -503,7 +503,7 @@ ExecCreatR(TupleDesc tupType, * heap_create creates a name if the argument to heap_create is * '\0 ' */ - relDesc = heap_create(NULL, tupType, true, false); + relDesc = heap_create(NULL, tupType, true, false, true); } else { |