Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite6f02c8

Browse files
committed
REVOKE ALL ON FUNCTION nonexistant() FROM PUBLIC;
Used to report that GRANT could not find function nonexistant.Rod Taylor
1 parent8f211f8 commite6f02c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/catalog/aclchk.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.69 2002/06/20 20:29:26 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.70 2002/07/18 04:50:10 momjian Exp $
1212
*
1313
* NOTES
1414
* See acl.h.
@@ -389,7 +389,8 @@ ExecuteGrantStmt_Function(GrantStmt *stmt)
389389
charreplaces[Natts_pg_proc];
390390

391391
oid=LookupFuncNameTypeNames(func->funcname,func->funcargs,
392-
true,"GRANT");
392+
true,stmt->is_grant ?"GRANT" :"REVOKE");
393+
393394
relation=heap_openr(ProcedureRelationName,RowExclusiveLock);
394395
tuple=SearchSysCache(PROCOID,
395396
ObjectIdGetDatum(oid),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp