2017-03-28 16:37:21 +08:00
|
|
|
<% unless superuser_function? %>
|
2016-11-24 20:27:32 +08:00
|
|
|
GRANT EXECUTE ON FUNCTION <%= DATASERVICES_CLIENT_SCHEMA %>.<%= name %>(<%= params_with_type.join(', ') %>) TO publicuser;
|
2017-03-22 23:31:45 +08:00
|
|
|
GRANT EXECUTE ON FUNCTION <%= DATASERVICES_CLIENT_SCHEMA %>._<%= name %>_exception_safe(<%= params_with_type.join(', ') %> ) TO publicuser;
|
|
|
|
<% end %>
|