]> granicus.if.org Git - postgresql/commitdiff
Quick cleanups
authorMarc G. Fournier <scrappy@hub.org>
Mon, 23 Feb 1998 18:43:13 +0000 (18:43 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 23 Feb 1998 18:43:13 +0000 (18:43 +0000)
src/backend/utils/init/postinit.c
src/include/utils/acl.h

index 2cd2a83b3c25115a7607fc55310d45f77281b560..5c36701385894c4baba26817c001c5ac3ff7f813 100644 (file)
@@ -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.
index 7f936ff470e4e1866c9c754c2afb4314b4fc8598..367dee0d9871bdbaa33125a45241d94546cd1e56 100644 (file)
@@ -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)