Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0b4620b

Browse files
committed
Quick cleanups
1 parent6c7c6d0 commit0b4620b

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/2317:43:53 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.24 1998/02/2318: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
#defineACL_MODECHG_EQL3
6363

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp