/* CREATE A NEW ROLE */
CREATE ROLE db_executor
/* GRANT EXECUTE TO THE ROLE */
GRANT EXECUTE TO db_executor
After that, just set your new user account up to be in the "db_executor" role for the database they need execute permissions on.
I am creating this blog mostly for me, so that I have references of things I use a lot and just a place to write down any random thoughts I want to. If you've stumbled across this and enjoy it, that's great. If not, that's just as well too.