diff options
author | Marc G. Fournier <scrappy@hub.org> | 1998-02-24 03:31:50 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1998-02-24 03:31:50 +0000 |
commit | 5cf1964fc6ba29db4119157410217ca98c5cc6ba (patch) | |
tree | 095201822ce71c59cdbfb3bb0621ba964e0a96f6 /src/include/utils/acl.h | |
parent | 751ebd20a04ea38ae3412b5c2a1fec5efd36ef8d (diff) | |
download | postgresql-5cf1964fc6ba29db4119157410217ca98c5cc6ba.tar.gz postgresql-5cf1964fc6ba29db4119157410217ca98c5cc6ba.zip |
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.
Diffstat (limited to 'src/include/utils/acl.h')
-rw-r--r-- | src/include/utils/acl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/utils/acl.h b/src/include/utils/acl.h index 367dee0d987..d1dab54469a 100644 --- a/src/include/utils/acl.h +++ b/src/include/utils/acl.h @@ -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); |