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/postgres.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/postgres.h')
-rw-r--r-- | src/include/postgres.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h index ddc84007332..0beb504d388 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -6,7 +6,7 @@ * * Copyright (c) 1995, Regents of the University of California * - * $Id: postgres.h,v 1.28 1999/10/25 03:07:55 tgl Exp $ + * $Id: postgres.h,v 1.29 1999/11/04 08:01:07 inoue Exp $ * *------------------------------------------------------------------------- */ @@ -138,6 +138,7 @@ typedef uint32 CommandId; #define DATA(x) extern int errno #define DESCR(x) extern int errno #define DECLARE_INDEX(x) extern int errno +#define DECLARE_UNIQUE_INDEX(x) extern int errno #define BUILD_INDICES #define BOOTSTRAP |