Reputation: 21
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?
Upvotes: 0
Views: 543
Reputation: 91
There's a way to it with Notify in Postgres, but then you will have to poll the database periodically and get the notification.
Upvotes: 1