On Sun, Oct 10, 2021 at 08:50:33AM +0000, Nelson Gonzaga wrote: > Dear,How do I hide a function source code from all users except > superuser, but all can execute it?Thanks,Nelson Write it in something else than sql or plpgsql, and use external file. But, if your function source is security vulnerability, then don't write it that way. Best regards, depesz