mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
From: Jan Wieck <jwieck@debis.com>
So if the relname is given to acldefault() in
utils/adt/acl.c, it can do a IsSystemRelationName() on it and
return ACL_RD instead of ACL_WORLD_DEFAULT.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: acl.h,v 1.14 1998/02/23 18:43:13 scrappy Exp $
|
||||
* $Id: acl.h,v 1.15 1998/02/24 03:31:50 scrappy Exp $
|
||||
*
|
||||
* NOTES
|
||||
* For backward-compatability purposes we have to allow there
|
||||
@@ -135,8 +135,8 @@ extern char *aclcheck_error_strings[];
|
||||
/*
|
||||
* routines used internally (parser, etc.)
|
||||
*/
|
||||
extern Acl *aclownerdefault(AclId ownerid);
|
||||
extern Acl *acldefault(void);
|
||||
extern Acl *aclownerdefault(char *relname, AclId ownerid);
|
||||
extern Acl *acldefault(char *relname);
|
||||
extern Acl *aclinsert3(Acl *old_acl, AclItem *mod_aip, unsigned modechg);
|
||||
|
||||
extern char *aclmakepriv(char *old_privlist, char new_priv);
|
||||
|
||||
Reference in New Issue
Block a user