diff options
Diffstat (limited to 'src/include/utils')
-rw-r--r-- | src/include/utils/acl.h | 7 | ||||
-rw-r--r-- | src/include/utils/fcache.h | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/include/utils/acl.h b/src/include/utils/acl.h index 03f30fa1ce5..3619797151b 100644 --- a/src/include/utils/acl.h +++ b/src/include/utils/acl.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: acl.h,v 1.39 2001/11/05 17:46:36 momjian Exp $ + * $Id: acl.h,v 1.40 2002/02/18 23:11:45 petere Exp $ * * NOTES * For backward-compatibility purposes we have to allow there @@ -171,7 +171,7 @@ extern char *aclcheck_error_strings[]; /* * routines used internally */ -extern Acl *acldefault(const char *relname, AclId ownerid); +extern Acl *acldefault(AclId ownerid); extern Acl *aclinsert3(const Acl *old_acl, const AclItem *mod_aip, unsigned modechg); /* @@ -208,4 +208,7 @@ extern bool pg_func_ownercheck(Oid userid, char *funcname, extern bool pg_aggr_ownercheck(Oid userid, char *aggname, Oid basetypeID); +extern int32 pg_proc_aclcheck(Oid proc_oid, Oid userid); +extern int32 pg_language_aclcheck(Oid lang_oid, Oid userid); + #endif /* ACL_H */ diff --git a/src/include/utils/fcache.h b/src/include/utils/fcache.h index 563812c8717..fdc84c2122f 100644 --- a/src/include/utils/fcache.h +++ b/src/include/utils/fcache.h @@ -11,7 +11,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: fcache.h,v 1.20 2001/11/05 17:46:36 momjian Exp $ + * $Id: fcache.h,v 1.21 2002/02/18 23:11:46 petere Exp $ * *------------------------------------------------------------------------- */ @@ -41,6 +41,8 @@ typedef struct FunctionCache */ FmgrInfo func; + bool permission_ok; + /* * setArgsValid is true when we are evaluating a set-valued function * and we are in the middle of a call series; we want to pass the same |