From 2e2189a568e551e97180a8575bdbe320b3947b34 Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Thu, 4 Nov 1999 08:01:09 +0000 Subject: 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. --- src/include/postgres.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/postgres.h') 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 -- cgit v1.2.3