I need to make my PostgreSQL database execute a java class called by a trigger.
I read that you can install java on your PostgreSQL db, but to do this I might need superuser privileges, and don't know how to do this since PostgreSQL on Heroku doesn't offer this option.
Is there a way to do this? Or perhaps a work-around?