Granting permissions on functions

Use grant select on builtin function_name to grant a user permission to use the functions set_appcontext, get_appcontext, list_appcontext, and rm_appcontext.

The syntax is:

grant select on [builtin] function_name
to {name_list | role_list}

Where:

This grants select permission on the get_appcontext function to public:

grant select on builtin get_appcontext to public