0

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?

1 Answer 1

1

There's a way to it with Notify in Postgres, but then you will have to poll the database periodically and get the notification.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.