We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f211f8 commit e6f02c8Copy full SHA for e6f02c8
src/backend/catalog/aclchk.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.69 2002/06/20 20:29:26 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.70 2002/07/18 04:50:10 momjian Exp $
12
13
* NOTES
14
* See acl.h.
@@ -389,7 +389,8 @@ ExecuteGrantStmt_Function(GrantStmt *stmt)
389
char replaces[Natts_pg_proc];
390
391
oid = LookupFuncNameTypeNames(func->funcname, func->funcargs,
392
- true, "GRANT");
+ true, stmt->is_grant ? "GRANT" : "REVOKE");
393
+
394
relation = heap_openr(ProcedureRelationName, RowExclusiveLock);
395
tuple = SearchSysCache(PROCOID,
396
ObjectIdGetDatum(oid),
0 commit comments