Volkan YAZICI <yazicivo@xxxxxxxxxx> writes: > test_1_5_0_0=> GRANT EXECUTE ON FUNCTION emove.emove_outgoingmessages_delete_for_commsrv() TO emove; > WARNING: no privileges were granted for "emove_outgoingmessages_delete_for_commsrv" > GRANT > Does anybody have an idea about what might be causing the problem? What this means is that the user doing the GRANT doesn't actually have permissions to do it. (Yeah, the message pretty much sucks, but the behavior is mandated by SQL spec.) Most likely, you aren't the owner of the function. regards, tom lane