acs::db::nsdb-postgresql method call acs_permission grant_permission (public)

 <instance of acs::db::nsdb-postgresql[i]> call acs_permission grant_permission \
    [ -dbn dbn ] -object_id object_id  -grantee_id grantee_id  \
    -privilege privilege 

Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl

Automatically generated method TYPES: integer integer {character varying}

Switches:
-dbn (optional)
-object_id (required)
-grantee_id (required)
-privilege (required)

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select acs_permission__grant_permission(CAST(:object_id AS integer),CAST(:grantee_id AS integer),:privilege)}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: