Skip to content

Commit 0b4620b

Browse files
committed
Quick cleanups
1 parent 6c7c6d0 commit 0b4620b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/backend/utils/init/postinit.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.23 1998/02/23 17:43:53 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.24 1998/02/23 18:43:06 scrappy Exp $
1111
*
1212
* NOTES
1313
* InitPostgres() is the function called from PostgresMain
@@ -591,7 +591,8 @@ InitPostgres(char *name) /* database name */
591591
* initialize local data in cache invalidation stuff
592592
* ----------------
593593
*/
594-
InitLocalInvalidateData();
594+
if (!bootstrap)
595+
InitLocalInvalidateData();
595596

596597
/* ----------------
597598
* ok, all done, now let's make sure we don't do it again.

src/include/utils/acl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: acl.h,v 1.13 1998/01/24 22:50:28 momjian Exp $
9+
* $Id: acl.h,v 1.14 1998/02/23 18:43:13 scrappy Exp $
1010
*
1111
* NOTES
1212
* For backward-compatability purposes we have to allow there
@@ -62,7 +62,7 @@ typedef uint8 AclMode;
6262
#define ACL_MODECHG_EQL 3
6363

6464
/* change this line if you want to set the default acl permission */
65-
#define ACL_WORLD_DEFAULT (ACL_RD)
65+
#define ACL_WORLD_DEFAULT (ACL_NO)
6666
/* #define ACL_WORLD_DEFAULT (ACL_RD|ACL_WR|ACL_AP|ACL_RU) */
6767
#define ACL_OWNER_DEFAULT (ACL_RD|ACL_WR|ACL_AP|ACL_RU)
6868

0 commit comments

Comments
 (0)