From 0b4620b57561c92b436be7c12a83ab0f51b54593 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Mon, 23 Feb 1998 18:43:13 +0000 Subject: [PATCH] Quick cleanups --- src/backend/utils/init/postinit.c | 5 +++-- src/include/utils/acl.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index 2cd2a83b3c..5c36701385 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.23 1998/02/23 17:43:53 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.24 1998/02/23 18:43:06 scrappy Exp $ * * NOTES * InitPostgres() is the function called from PostgresMain @@ -591,7 +591,8 @@ InitPostgres(char *name) /* database name */ * initialize local data in cache invalidation stuff * ---------------- */ - InitLocalInvalidateData(); + if (!bootstrap) + InitLocalInvalidateData(); /* ---------------- * ok, all done, now let's make sure we don't do it again. diff --git a/src/include/utils/acl.h b/src/include/utils/acl.h index 7f936ff470..367dee0d98 100644 --- a/src/include/utils/acl.h +++ b/src/include/utils/acl.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: acl.h,v 1.13 1998/01/24 22:50:28 momjian Exp $ + * $Id: acl.h,v 1.14 1998/02/23 18:43:13 scrappy Exp $ * * NOTES * For backward-compatability purposes we have to allow there @@ -62,7 +62,7 @@ typedef uint8 AclMode; #define ACL_MODECHG_EQL 3 /* change this line if you want to set the default acl permission */ -#define ACL_WORLD_DEFAULT (ACL_RD) +#define ACL_WORLD_DEFAULT (ACL_NO) /* #define ACL_WORLD_DEFAULT (ACL_RD|ACL_WR|ACL_AP|ACL_RU) */ #define ACL_OWNER_DEFAULT (ACL_RD|ACL_WR|ACL_AP|ACL_RU)