diff options
Diffstat (limited to 'src/backend/commands/user.c')
-rw-r--r-- | src/backend/commands/user.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/backend/commands/user.c b/src/backend/commands/user.c index 0d34e57b258..e1e3e16a350 100644 --- a/src/backend/commands/user.c +++ b/src/backend/commands/user.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/backend/commands/user.c,v 1.153 2005/06/28 19:51:22 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/commands/user.c,v 1.154 2005/06/28 22:16:44 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -859,6 +859,9 @@ RenameRole(const char *oldname, const char *newname) ReleaseSysCache(oldtuple); heap_close(rel, NoLock); + /* + * Set flag to update flat auth file at commit. + */ auth_file_update_needed(); } @@ -902,6 +905,11 @@ GrantRole(GrantRoleStmt *stmt) stmt->grantee_roles, grantee_ids, stmt->admin_opt); } + + /* + * Set flag to update flat auth file at commit. + */ + auth_file_update_needed(); } /* |